WordPress.org

Ready to get started?Download WordPress

Forums

GYS Themed Categories
Multiple theme options possible? (5 posts)

  1. ffwebdesigner
    Member
    Posted 1 year ago #

    Love GYS! Nice plugin, Using it on a Multisite: http://www.cad-helpdesk.de. Switiching to different themes depending on castegories works great. My problem: i tried to even use 2011 theme options in different themes.

    EG: main theme is 2011. Theme in http://www.cad-helpdesk.de/cad-cloud-de is a custom theme based on 2011. I changed all the necessary theme names in functions.php to get the custom theme options saved under the new individual theme options tables.

    Unfortunately: options are always taken from the main theme activated. Any idea?

    cheers
    ff-webdesigner

    http://wordpress.org/extend/plugins/gys-themed-categories-2/

  2. Luke Rumley
    Member
    Plugin Author

    Posted 1 year ago #

    I have no idea! It sounds like you are doing more complicated things than I've had to do with this plugin. I've tried activating the theme I want to modify, setting options in the admin UI, then going back and activating the main theme.

    You are using a child theme of TwentyEleven or a copy of it?

    It also looks like you are getting a fatal error in that category, which makes me wonder if you upgraded to 3.4. I have not tested this plugin in 3.4 yet. Feel free to keep adding anything you figure out to this thread.

  3. ffwebdesigner
    Member
    Posted 1 year ago #

    thanks for the quick reply luke! yeah, love complicated things, good for making things easier and learning more :-)

    my custom theme is a completely individual copy of 2011. example: i activate 2011 as standard theme, cad cloud theme in gys for cad cloud -> no header image as defined in 2011 options, in both main theme for start page and gys themed categories for cad-cloud.

    my problem: i did activate cad cloud theme first, set a different header image in options. as long as this theme is activated, this works fine in both start and gys themed category cadcloud. as soon as i switch back to 2011, it doesn't work anymore. start and cadcloud no image.

    don't worry about the error on the sidebar. was just a little mistake...

    i think it might be more related a problem of that kind: my theme somehow still reads the same 2011 theme options rather than reading the new fields/tables set up in functions.php...

    wp version is 3.3.2

  4. ffwebdesigner
    Member
    Posted 1 year ago #

    update: the cad cloud picture you see right now is a temporary static solution, not from theme options.

  5. Luke Rumley
    Member
    Plugin Author

    Posted 1 year ago #

    So version 3.4 of WordPress allows you to "customize" themes prior to activating them. I wonder if it is worth upgrading to try that feature out on the non-active themes? My guess would be you will see the same results, as this appears to be more of a database/namespace issues for your theme options. Not exactly sure how to resolve that...

    You could also try making a child theme instead of a copy of TwentyEleven.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic