Timeline for Override dynamic_sidebar() in plugin?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 27, 2011 at 16:12 | vote | accept | dpgtfc | ||
May 26, 2011 at 21:22 | answer | added | capitalaudience.com | timeline score: 1 | |
May 20, 2011 at 7:31 | answer | added | Jan Fabry | timeline score: 3 | |
May 20, 2011 at 5:33 | comment | added | xLRDxREVENGEx | do these pages have something in common? you could always use a custom field with a some if and else statement | |
May 20, 2011 at 5:24 | comment | added | dpgtfc | That is correct! I have sidebars already registered, and would like to have the widgets inside of those displayed based on the page a user is on. The code is all there, I just need a way to override the dynamic_sidebar() function. Right now the base code works, but is dependent on the template, id just like to figure a way to override it so I can change it in the plugin rather than the template. I'm not even sure this is possible, to be honest. | |
May 20, 2011 at 5:18 | comment | added | xLRDxREVENGEx | so you want a sidebar that if it has items then use this one else use a different one | |
May 20, 2011 at 2:45 | history | asked | dpgtfc | CC BY-SA 3.0 |