I was wondering if there is an easy solution to add some php "if" code when my website tries to show the widgets and if it has $_SESSION I set on homepage (based on the source of which they came) not to show one of them?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
The easiest way to do this is via
Any widgets contained in the "Right Sidebar" will now be loaded based on your condition. You should use this with http://codex.wordpress.org/Function_Reference/dynamic_sidebar |
|||
|
|
