| bio | website | |
|---|---|---|
| location | Tacoma, WA | |
| age | 35 | |
| visits | member for | 2 years, 1 month |
| seen | Oct 6 '12 at 17:54 | |
| stats | profile views | 8 |
|
May 27 |
awarded | Scholar |
|
May 27 |
accepted | Override dynamic_sidebar() in plugin? |
|
May 27 |
comment |
Override dynamic_sidebar() in plugin? Thanks, I ended up going this route and it worked great. |
|
May 27 |
comment |
Override dynamic_sidebar() in plugin? Thanks! I ended up doing something similar and finished my plugin, as you can see in the code I used the sidebars_widget filter and either added to sidebar-1 or replaced it with the page's custom sidebar. |
|
May 27 |
awarded | Student |
|
May 20 |
awarded | Supporter |
|
May 20 |
comment |
Override dynamic_sidebar() in plugin? 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 |
comment |
Add_Filter example for wp_get_attachment_link Oh, you have a good point. Yes. The hook doesn't support the markup arg so you might have to try and get it in another way. |
|
May 20 |
answered | Add User meta fields, which only admin can edit |
|
May 20 |
asked | Override dynamic_sidebar() in plugin? |
|
May 10 |
awarded | Teacher |
|
May 10 |
answered | Add_Filter example for wp_get_attachment_link |