Hi all !
I'm working on a new template, and I wish to add an option to activate the sidebar.
I based my work on the Innovation Theme Plugin, and I created a radio box to select YES or NO to activate the sidebar.
I have got a problem, the XML file is well generated, but the option still null.
After I need to read the result, if it's YES (true) then the sidebar is displayed otherwise it's not. That is done in template.php. I am not sure how to do this.
In attachments you'll find the template, just move cyclehomePlugin.php into plugins directory.
Thank you for your help, I'm sure it's simple but it has to blind me.
I'm working on a new template, and I wish to add an option to activate the sidebar.
I based my work on the Innovation Theme Plugin, and I created a radio box to select YES or NO to activate the sidebar.
I have got a problem, the XML file is well generated, but the option still null.
After I need to read the result, if it's YES (true) then the sidebar is displayed otherwise it's not. That is done in template.php. I am not sure how to do this.
In attachments you'll find the template, just move cyclehomePlugin.php into plugins directory.
Thank you for your help, I'm sure it's simple but it has to blind me.