Hiz
As the title says, i am looking for inserting a function's output before sidebar's first widget, and one in the end after teh last widget, is it possible?
thanks in advance.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|
You can create your own actions using do_action, like this:
and use add_action() normally:
UPDATE: depending on the codex you can use wp_meta hook:
but it should be added by theme authors. This page might be helpful Full Action Hooks Reference. |
|||||||||||
|
|
Yes. Put your function, and anything else you want, before and after the dynamic_sidebar function. For example.
http://codex.wordpress.org/Function_Reference/dynamic_sidebar Put the function inside a plugin, or even easier, inside your theme's functions.php file. |
||||
|
|
|
There are two options that may not yield the results you are looking for, but it's something. |
|||
|
|

