Navigation



WordPress Tiga theme 2.2 / 2.3 upgrade

I have updated the Tiga theme (which this site uses) to be compatible with both WordPress 2.2 and 2.3.

This update:
* Fixes the widget problems that were introduced under WordPress 2.2 (thanks, Otto42 for a solution that was cleaner than mine).
* Fixes the blogroll issues that were introduced under WordPress 2.3.

I have also given the theme a new version number: 2.3.

To install this patch, simply unzip the files into your tiga-06 theme directory. Note: Older version of CPanel will not overwrite files that already exist when unzipping files. In this case, unzip them to a local directory and FTP them into your tiga-06 theme directory, or this script may work for some people.

You can download the update here.

Note: This patch appears to work for WordPress v2.5 as well.


Trying to learn C++ but don't have a lot of time to attend classes? Then distance learning could be the answer! There are many online colleges that offer classes you can take from the comfort of your home. Online degrees have never been easier!

85 comments to WordPress Tiga theme 2.2 / 2.3 upgrade

  • [...] Recent Content Recent PostsWordpress Tiga theme 2.2 / 2.3 upgrade [...]

  • Thanks for the fix. Works Great! :)

  • Thank you so much! I fixed my friend’s blog for her. (Thank goodness–it took forever to find a theme we were happy with in the first place!)

  • Nice articles, helped me a lot thanks.

  • Some semblance of normal…

    Or at least I hope it stays that way for a while. My undying gratitude to Alex at LearnCpp.com for coding the updates to my favorite theme, Tiga, so that it will work correctly with the latest updates to WordPress.
    ……

  • Adam

    I found your blog via Google while searching for and your post regarding looks very interesting for me

  • Thanks much, Alex. Have you informed Shamsul about this patch?
    http://www.shamsulazhar.com/wp/archives/31

    If not, let me know. I have his email address.

  • I have not informed Shamsul. Comments are closed on his web site and he does not seem to be interested in supporting the theme any longer (which is a shame, since it’s such a great theme!).

  • Thanks for the fix. It fixed blogroll problem.

    Radek

  • Dan

    Alex,

    I’m really new to WordPress, so please excuse me if I’m asking a dumb question.

    I’m setting up a new site, using the “Tiga theme 2.2 / 2.3 upgrade” on WordPress 2.2.2, and I’m having a problem with the blogroll.

    You can see the issue on my page. http://dans-hobbies.com/

    Each links category & sub-category shows up in its own widget. The links also cause the page to not validate.

    Does something need to be changed in tiga.php to fix this?

    -Dan S

  • Hi Dan. I didn’t even know it was possible to create subcategories within your blogroll. How do you do that?

    In any case, I think you _may_ be able to fix this issue by modifying tiga.php.

    In Tiga.php, you’ll find the following line in the tiga_links_widget function:

    $cats = get_categories(“type=link&orderby=$order&order=$direction&hierarchical=0″);

    Try changing it to:

    $cats = get_categories(“type=link&orderby=$order&order=$direction&hierarchical=1″);

    and see if it does what you want.

  • Alex,

    I’ve posted this question in the forum, too; but thought I would drop it here as well. My comments are broken (in the Tiga theme only) since I upgraded WP to 2.2.3 and they remain broken in 2.3.

    I’m so very grateful for what you’ve done with the other fixes, but I’m really frustrated with the comment thing.

    Be well,
    Bob

  • Bob, I replied to your issue on the forum, as it’s easier to follow an issue in a threaded discussion.

  • Dan

    Alex,

    From what I have read you can set up link subcategories just like you do for posts.

    I tired the fix you suggested, un-fortunately it didn’t work.

    I was able to get the site to validate when I changed the two “wp_get_links()” call to ‘get_links($link_cat->cat_id, ”, ”);’

    What I’m seeing with the 2.3 version of Tiga is that each link category gets it’s on widget.

    What I’m aiming for is a single widget that has a tree like structure similar to the of the categories widget.

    -Dan S

  • Dan,

    Ahh, I misunderstood what you were asking. Unfortunately I do not know how to do what you are asking. I will tell you this: The boxes are created by this line:

    echo '

  • ' . $before_title . $cat->name . $after_title
  • So if you want everything to be inside one box, that part of the code needs to be taken outside the foreach loop.

    As to what call you’d put in place of get_links(), that’s beyond my knowledge of WordPress. You might ask on the official WordPress forums, as there are people there whose knowledge far exceeds mine.

  • you seem such a tiga expert, i hope you can help us! i am in the middle of switching themes (am just using kubrick in the interim). my web friend has built an absolutely beautiful and super functional theme from tiga. it works perfectly on her site but when she takes it over to mine, it is 100% unformatted. i use tiga for another blog, hosted by dreamhost, and i have none of the problems that others have encountered. any ideas? i am hosted at 1&1.

  • isabella mori, I am not sure I clearly understand a couple of things you said. Namely, I am not sure what you mean by “taking it over to mine”, nor am I sure what you mean by “100% unformatted”. Taking my best guess, you sound like you’re trying to copy her theme on your site, but when you move it, it’s reverting to default behavior. Is that correct?

    If so, I suspect a large part of it is simply due to the fact that Tiga stores the stuff in the “Tigarator” settings in the wordpress database itself. You can copy her theme, but there’s no good way to copy those settings. The other thing is that if her theme uses any plugins to provide functionality, you’ll need to have those plugins installed and activated as well.

    Did that answer your question or am I headed in the wrong direction? :)

  • DavidW

    just dropped by to say Thank you. I kept running into walls tonight trying various ways to make this work. I was way psyched to run across your updates and fixes.

  • alex, i figured out what the problem was – it was actually not related to what you said but something about how you phrased it (or perhaps simply your goodhearted willingness to help) made a lightbulb go up in my little brain.

    earlier, i had read that using anything but the (SEO unfriendly) default permalink structure will break the theme in the later versions of WP. i didn’t pay attention to that because i use tiga somewhere else and that’s not a problem.

    we finally figured out that the permalink structure problem only happens with certain servers (i assume because of different MyPHP versions – i’m not technical enough to completely understand why).

    so now i need to find a fix for the permalink structure problem. you wouldn’t happen to know where i can find it? i saw it around but just can’t seem to find it anymore.

    thanks for your help so far!

  • Isabella, great to hear that you found the cause of the problem. My knowledge of the permalink stuff is pretty minimal, but I do know that permalink issues often have something to do with the way Apache is configured on the host, and also the .htaccess file. Unfortunately, if apache is misconfigured/restricted on particular servers (eg. mod_rewrite is not enabled), I think your options are pretty limited. You’d probably best write your host and ask them if they can help.

    You might try seeing if anything at this link helps:
    http://faq.wordpress.net/view.php?p=20

    And finally, you might try asking on the official wordpress forums, as there are many people there with far more knowledge of such subjects than I!

  • [...] could write/edit Posts, but Pages are fine. While trying to correct that, I discovered my theme, Tiga, is not optimized for the latest version of WordPress. My blog doesn’t look like Tiga. I sure [...]

  • Ozh

    Hey, nice that someone updated this popular theme :)

    Could please also update the link to my site? I moved a few months ago, instead of frenfragfactory.net/ozh it’s now http://planetozh.com/blog/
    Thank you in advance, I’d really appreciate it.

  • Hi Ozh, thanks for dropping by. I’ve updated the footer to reflect your new web site.

  • [...] target=”blank>Tiga theme, and be sure to install the update by Alex), plus having to decipher the instructions and update code. OMG Oy Vey WTF am I doing? But my blog [...]

  • Hi Alex,

    Many thanks for your good work keeping this great theme alive!

    Do you by chance have files that highlight the changed code, so that it can be copied and surgically inserted into the appropriate files? My Tiga theme files have been tweaked so many times, that I don’t want to overwrite them. / Doug

  • Hi Doug. I don’t have any files that highlight the changes. However, these files were modified straight from the stock Tiga files. If you download a program that lets you do file comparisons, you should be able to compare them against the stock Tiga files to see what changed.

  • [...] Learn C++ – » WordPress Tiga theme 2.2 / 2.3 upgrade – tags: wordpress themes tiga [...]

  • TonyN

    It worked! Fantastic! Very happy bunny! Many, many thanks.

  • Wow, man. Thanks for the patch! I was able to widgetize my site after installing this (and after about a half-hour or so of some style tweaking). This was a big help.

  • [...] support widgets. I love the theme a lot and, luckily, instead of being completely screwed, I found this guy who has created a bunch of patches so that Tiga is actually widget-friendly. Last night, I installed the patches, tweaked the design a little bit [...]

  • I love the Tiga theme and have used it on all my blogs. Although I am still not sure, I now suspect something in this theme is the reason my server load had gone through the roof AFTER upgrading to WordPress 2.3. Will try the “patch” and report back. Thanks for it!

    Has anyone had a similar experience with Tiga overloading the server after a 2.3 upgrade?

  • Hi!

    Been using TIGA and really like it. I have the blogroll problem, though, having just upgraded to 2.3.1:

    WordPress database error: [Table 'k2005sa_wrdp2.wp_categories' doesn't exist]
    SELECT cat_id, cat_name FROM wp_categories WHERE link_count > 0

    I downloaded and unzipped the patch, and I’ve made lots of changes to the files included in the patch.

    My question is: is there any way to get the blogroll working without having to redo all the file changes?

    Thanks for the help.

  • Kathleen, if you want to integrate the changes into your own heavily modified theme, here’s what I suggest:
    1) Download the original Tiga theme and unzip it into a directory.
    2) Download my patch, rename the files, and copy them into the same directory.
    3) Get a program that will do file comparisons and see what I changed.
    4) Manually copy the changes into your theme.

    I really didn’t change much, so although this sounds like a huge task, I don’t think it would take that long.

    Does that answer your question or am I misunderstanding?

  • Alex,

    You understand perfectly, and I’ll give that a try. Thanks again for your help!

    Kathleen

  • Alex,

    It worked! I’m so glad you are helping all of us by keeping TIGA up to date.

    Kathleen

  • Hi Alex-

    Thanks for fixing Tiga, you sir, rock! I looked for the donate button on your site but I didn’t see it- hint, hint. :)

    Obscure question for you. I’m running Cday4WP plugin (http://wiki.benched42.net/index.php?title=CDay_for_WP)
    It looks perfect on Bill’s (the creator) blog here:
    http://www.benched42.net/

    There’s no configuration- it’s just widget in the sidebar- drag and drop, even I couldn’t screw that up. Anyway, for some reason, Tiga is throwing an extra set of bullets on each line, and the background is gone- you can see the blog background instead of the sidebar background. You can see it on my blog here:
    http://www.twitfall.com

    I went through the stylesheet, Bill went through it and believes it’s missing a “list-style-type: none;” entry somewhere. Can you take a look? Did I mention the donate button? This is driving me nuts…

    -Will

  • Will, I took a look at your website and believe I have located your problem.

    If you take a look at the source code of your web page, you will note that each of your widget boxes begins with some HTML that looks like this:

    <li class="left-wp-widget ...>
    

    (or right-wp-widget if it’s a widget on the right sidebar)

    This left-wp-widget or right-wp-widget tells the browser which CSS format to use when rendering contained elements. If we look in Tiga’s style.php, we see the following:

    /* Style of the block containing the widget contents */
    .left-wp-widget ul, .right-wp-widget ul {
    	list-style-type:none;
    	padding-left:7px;
    	margin-top:0px;
    	margin-left:0px;
    }
    

    This means that for all contained UL (unordered list) elements within the .left-wp-widget style, they should have list-style-type:none, which means no bullets.

    Closer examination shows that for whatever reason, your “today in history” widget is being rendered as <li> rather than <li class="right-wp-widget">. This is why your lists within this widget (and only this widget) are being generated with bullets.

    (As an aside, the second pair of bullets on the inner lists is actually being generated by the plugin itself. If you take a look at the source code, you will see &diam;. This tells the browser to render a diamond. This is fine.)

    The solution to your problem is that you need to get that widget into a <li class="right-wp-widget"> element instead of a plain <li> element.

    When Tiga sets up the sidebars, it tell WordPress that any correctly registered widgets should receive the left-wp-widget or right-wp-widget style. This is done in tiga.php at the bottom of the tiga_pages_widget() function. Any widget that is correctly registered with WordPress should automatically receive this style.

    I am running several add-in widgets on this site (for example, the “Recent Content” in the left sidebar was done through a widget called “Widgetize Anything”) and they all render correctly with this style. So the problem doesn’t appear to be with Tiga.

    Since this particular widget is not receiving the correct style (but all the others ones are), I would guess that the author of the today in history widget is not registering his widget correctly. As a result, WordPress is not generating the correct CSS.

    (As a side note, the author might want to take a look at the “Widgetize Anything” plugin for a practical example of how to register a widget correctly, as it is a very simple plugin and it definitely works with Tiga, as evidence by it’s use on this site)

    PS: I added a donation button (at the bottom of the “about” page).

  • Thanks Alex, I’ll get with Bill. I made use of the donate button, seems to be working fine. :) Thanks for the help!

  • Thank you so much for doing this. I have been using this theme since I started using WordPress, but have been holding back on upgrading for a while, since upgrades seemed to break the theme, and I couldn’t find anything else I liked as much. I was still using 2.0.5, if that tells you anything. I finally found a theme that had the same functionality, but wasn’t nearly as elegant, so I did the upgrade, but hated the way my blog looked. Since finding your fix, I am happy again with my blog. Thanks again. Now, I’m need to figure out how to widgetize the footer.

  • [...] design is  Tiga theme with a bit of Ozh + WP 2.2 / 2.3 Tiga Upgrade This entry is filed under Uncategorized. You can follow any responses to this entry through the [...]

  • Thanks so much for this fix – I spent quite some time trying to fix it myself until I decided that I can’t be the only one having problems with the dynamic sidebar in WP 2.3. Thanks for posting your changes!

  • I’ve upgraded the Tiga theme using your patch but now when I
    change the colours in the ‘Tigarator’ your colour scheme still
    appears – how can I change it?

    Also have you any idea why I can’t view any static pages?
    Is the problem with Tiga or WordPress?

    • Suzie,

      I was able to successfully change the colors in the Tigarator — for example, changing the color of the widget header text works fine. I am also able to view static pages just fine.

      I am not sure if your problem is with Tiga or WordPress.

      First, try disabling all your plugins and see if that fixes your issue.

      Second, try removing your Tiga theme completely, then reinstalling both it and the patch.

      Third, try a clean install of WordPress.

      I’ve seen other people having some weird issues (not related to the patch, but related to corruption of the theme or wordpress), and usually one of these three things ends up fixing it.

      • I’ve tried all your suggestions and I can now view the static pages properly but I still can’t get the colour changes to work. When the blog first loads you can see my changes but then the default colours seem to go on top – does that make sense?

        What I don’t understand is that the Tigarator was working fine before I uploaded the patch but now even after reinstalling the original version of Tiga (without the patch) it doesn’t work – weird!

        I’m not blaming the patch by the way! If you don’t know how to fix this could you recommend any other similar themes.

        Thanks

        • That is strange. The patch doesn’t touch any of the files that the Tigarator uses, so I can’t imagine the two are linked. Unfortunately, I am out of suggestions as to what the issue might be — maybe someone else reading this page will have an idea. I don’t know of any themes that look similar to Tiga — but there are a ton of websites that have theme viewers, including the official WordPress one.

          • I’ve solved the problem! It was just a matter of deleting the image files in the Tigarator. I didn’t delete them when I first customised it, the colour changes seemed to take effect regardless. Anyway what a relief!

  • Dude… you sooooo ROCK!

    Thank you, thank you, thank you!

  • I’ve tried the above and widgets still wont work!! please help!!

  • Do you have any plans to see if Tiga is compatible with WordPress 2.5 and if not, to make it compatible? Thanks. Your first patch was a lifesaver.

    • Yes, I will be looking at it this week.

      Addendum: I upgraded to WordPress 2.5 on my test blog (where I test out new stuff before I put it live on this site) and Tiga appears to be working fine so far. So long as you have the Tiga 2.3 patch installed, my initial reaction is that Tiga 2.3 is compatible with WordPress 2.5.

      Another edit: This website is now running Tiga on WordPress v2.5. It appears to be working fine.

  • That is brilliant! You just fixed all of my angst :-D

    I only just managed to upgrade my WP from 1.5.3 to 2.5 (I’m a complete noob – it took aaages), and this patch is fantastic.

    Thanks so much!

  • I am using WP 2.3.2 with the TIGA theme, and I recently added JUST the sidebar.php fix
    so I could use the widgets. Now this works fin, however it completely whacks the
    template layout. The right sidebar shifts about 250 pixels to the right, and the posts
    in the center column shrink to about 200 pixels wide. I tried using the complete patch,
    and got the same result but with more errors in the layout.

    All I need is for the wdigets to work, so just the new sidebar.php paych would work for
    me, if the layout would still work.

    Any ideas?

    The blog is at http://www.nevisblog.com however right now it is working as I put the old sidebar.php
    file back, as I just can’t have the broken layout

    Thanks

    • Hmmm, I can’t think of any reason it’s doing that. The first thing I would do is check the values in the Tigarator. Try changing some relevant ones and changing them back. Maybe you have some corrupted data or something. I’ve heard that reinstalling the Tiga theme from scratch can help. You also might try disabling all your plugins to see if any of them are causing the issue. Finally, some people have found the only thing that works is to reinstall wordpress.

You must be logged in to post a comment.