Get Your Stuff

GYS Themed Categories

by Mike on Nov.16, 2008, under GYS Themed Categories

Download GYS Themed Categories

Hi there folks! It’s been quite some time since I wrote the predecessor of this plugin called Wordpress Themed Categories Plugin and I admit that I have failed to maintain it. Lots of people are reporting that it doesn’t work so I decided to rewrite it.

Introducing GYS Themed Categories 2.0. It’s the same as the old one except that this one will work for Wordpress 2.6 and above. Sorry for leaving users Wordpress 2.5 and lower behind. It’s just too hard keeping track of all the versions so I decided to just make sure it works on the latest versions.

You can download it here. GYS Themed Categories

To use it, just upload it to your Wordpress blog’s plugins folder and activate it.

How much does it cost? Well, this one’s free but I’d really appreciate if you can link back to this site. For bug reports, just post a comment and I’ll try my best to have it fixed.

Download GYS Themed Categories

Disclaimer: GYS will only provide support for scripts, themes and plugins on this site that bear the GYS brand name.

:
41 comments for this entry:
  1. shawn

    I installed your categories 2.0 plugin and it seemed to be working perfectly.

    I just ran into one problem that I cannot solve and could use some advice.

    When I go into a category where I have changed the theme, it works perfectly. However if I click on the ‘next page’ of articles on the bottom it reverts to my main theme for the article listings. If I click on an article itself I get back to the modified theme like it should.

    How do I solve this?

    example:
    http://www.annointed.net/blog/category/christian-blogs/journals-of-the-heart/ works perfectly

    http://www.annointed.net/blog/category/christian-blogs/journals-of-the-heart/page/2/ reverted back to the old theme.

  2. jay

    Thx for the great plugin! quick question.

    page navigation..

    when i click on page 2 it automatically reverts back to original theme even though it still set to the themed category.

    any workarounds?

  3. Mike

    Hi Shawn and Jay,

    Looks like you both have the same problem. I’ll look into the issue and see what I can do about it. I’ll keep you posted.

    Mike

  4. Mike

    Shawn and Jay,

    What version of Wordpress are you using?

    Mike

  5. Mike

    Update: I tested the current version with Wordpress 2.7 and it seems to work just fine.

    Can’t replicate your issue.

    Mike

  6. jay

    using wordpress 2.7

    basically its issue with page navigation

    aka wp-pagenavi on themed categories.

    1. main page – maintheme
    2. categories – different theme.
    3. categories page 2 = reverts back to main theme.

  7. shawn

    I am using 2.6.5

    It works fine except if you have more than 1 page of articles in a category using a ‘themed category’ the previous pages revert back to old theme.

  8. Mike

    Hi Shawn and Jay,

    It’s fixed now. Please download it from the link provided in the post.

    Mike

  9. shawn

    Thank you, it worked perfectly.
    I pray you have a blessed Christmas and a wonderful New Year.

  10. kralksk

    Wordpress 2.7 not working. Category edit, theme not listing.

  11. ronie

    Hi,

    I have these ff. menus by adding pages:
    -About
    -Products
    -FAQs

    Can i use this plugin wherein I will assign THEME A to About page and use the THEME B to the rest of the menus?

    I tested this plugib and it only works in Categories.

    I’m using wordpress 2.7

    Is it possible?

    Thanks!

  12. Mike

    Hi kralksk,

    I did a quick test and it seems to be working just fine. The themes are being listed.

    Mike

  13. Mike

    Hi Ronie,

    Sorry but the plugin only handles categories and not pages.

    Mike

  14. Örjan

    Is it possible to just specify a php-file and not an entire theme?

    Since I have 50+ categories with different look, it would be swell…

  15. Mike

    Sorry, but that can’t be done with this plugin.

  16. mark

    I’ve noticed that posts in multiple categories fall back to the main theme. Does that mean that if you want to use multiple categories for a post, they all have to be associated with the same theme in order for theme switching to work?

    [Can you CC me your answer, I might not find this page back.]

  17. Mike

    hi, posts in multiple categories will be displayed using the theme of the first category.

  18. Eddie

    Thank you for this plugin.
    I’m not using it yet but this is going to make me work on my theme all night long !

  19. RichandCreamy

    This app made what I wanted to do very easy! Thanks!

    2 of my pages are being showed in a different theme then the rest of the pages. I’m sure they are pages and not posts. Anything I should look out for to fix this?

  20. Archaxis

    Thanks for the awesome plugin!

  21. James Bowman

    This plugin does NOT work with Wordpress 2.8

    It will break your site upon upgrading.

  22. Derek

    I’ve noticed that in Wordpress 2.8 that this plug-in seems to have stopped working correctly. I now get this error at the top of every category:

    Warning: Invalid argument supplied for foreach() in /home/directory/public_html/sitename/news/wp-includes/query.php on line 1401

    The default theme image is showing instead.

  23. Andrew Christensen

    This plugin is not working with 2.8 all I get is a white page when I activate it.

  24. Andrew Christensen

    It’s a big part of the website I’m working on, any help on getting it working again with wordpress 2.8 would be great!

  25. Barry Williams

    I have just updated to 2.8 and I am now getting the following error:

    Fatal error: Cannot use object of type WP_Error as array in /home/content/46/4466046/html/wp-content/plugins/gys-themed-categories.php on line 110

    Any help please?

  26. Mixasgr

    Fatal error: Cannot use object of type WP_Error as array in /home/…../wp-content/plugins/gys-themed-categories.php on line 110 !!!
    Any clues???

    I have just updated to 2.8!
    Thanks! :)

  27. RaDians

    its a great plugin; but its not what im looking for.

    What i want is a little diferent; its to apply a theme to a new-page, not to a new category.

    When you create a page, it inherits the format of the main theme, I want to select the page format from another theme (not from the default theme). Is this possible?

    thanks in advance

  28. elling

    D’oh! I just upgraded to 2.8 and it broke the whole shebang. I really like the plugin, and haven’t seen a similar one around. Now I have to roll back..

  29. mtyas

    Hi, I really love your plugin, but since my upgrade to 2.8, I’m having some strange issue. single posts are behaving strangely. I’m sure it’s something I did, but I just wanted to ask if anyone else has this probleme ???

    Thanks for your work, very usefull stuff

    Matt

  30. Guy Nesher

    Hi,
    I’m trying to use the plugin with wordpress 2.8 but receive the following error :

    Fatal error: Cannot use object of type WP_Error as array in /home/motif/domains/motif.co.il/public_html/blog/wp-content/plugins/gys/gys-themed-categories.php on line 110

    Any suggestions ?

  31. Kevin D

    when i activate it i get

    Fatal error: Cannot use object of type WP_Error as array in C:\httpdocs\pucku\wp-includes\category.php on line 137

    :(

  32. Allison

    I would kill for this. I’m going to have to roll my worpress installation back to 2.7 though.

    Did a fresh install of Worpress 2.8. Installed this plugin and made no other changes to the default install.

    Now I get the following error…

    Fatal error: Cannot use object of type WP_Error as array in /home/me/public_html/wordpress/wp-content/plugins/gys-themed-categoriesphp/gys-themed-categories.php on line 110

    Either way, thank you!

  33. Mike

    Plugin is now fixed for Wordpress 2.8

    Thanks for your patience!

  34. Al

    how about themed pages? or am I asking the right question?

  35. Mike

    Sorry but this plugin does not support themed pages.

  36. mike

    Cool ! with the fix for 2.8 and my fresh WP installation, this plugin rocks!

    Only a question, anybody has a hint for use different widget configurations with the different themes/categories ? (even if it’s hardcoding the template code, I don’t mind, since the big problem were the category-theme assignation :P )

  37. shawn

    I have been using your plugin on my 2.7 site for a very long time now and it works perfectly.

    This past week I have been working on setting up another site using your plugin with wp 2.8.4a but I am having some issues that I do not have on my other site.

    example:
    homepage http://jerrygaffney.anointed.net/
    category news is switched theme as expected via link
    http://jerrygaffney.anointed.net/category/news/

    That part is working as expected. The problem is when I click on an article within the category the theme is reverting back to the ‘primary site theme’ instead of staying on your theme.

    example:
    http://jerrygaffney.anointed.net/2009/08/22/facebook-test-page/

    I don’t have this issue on my 2.7 site, just this one. I have also tried creating other ‘test’ categories, but have the same issue. The category switches just fine, but the links within the category for the articles keep reverting back.

    please advise as I really love this plugin.

    thanks

  38. Lefteris

    Any possible way to make it work also for themed pages?
    I dont think that exist other plugin for it, will be great

    Ty

  39. Sean

    Hi Mike, this is a great plugin and it almost does what I am looking for, as you have gone to all the trouble to design this, and it works like a charm by the way on WP version 2.8.6

    I have a question, instead of selecting an alternative theme, how easy would it be to select an alternative template? So if I am using a modified Studio Press theme called Church, I have managed to create alternative headers, sidebars, and banners for this theme. The one thing I cannot figure out (excuse me I am self taught at PHP) is how to assign a specific page template to a category. I have managed it for pages, but the category eludes me.

    As you have written a complex php script that can allocate a particular theme to a category, I would think that you could create a specific page template to a category ….

    Would be very interested in your thoughts and views.

    Here are the two pages that I managed to create from templates The first is the about me page using a different header, the second is the contact me page that shows a different sidebar

    About: http://seanconvy.com/?page_id=2

    Contact: contact me: http://seanconvy.com/?page_id=11

    best wishes and keep up the great work
    Sean

  40. gabriel

    gracias. este plugin me salvo muchas horas de hacer un nuevo css para cada opción

    gracias!!!

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

    Archives

    All entries, chronologically...