The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
521 views

Hooking Into Widget Output Loop

When wordpress sidebar outputs any particular registered sidebar it loop through all widgets that assigned through it and outputs it (i guess). Is is possible to hook into the loop and add some ...
7
votes
2answers
5k views

List all sidebar names?

I'm listing all sidebars like that: global $wp_registered_sidebars; echo '<pre>'; print_r($wp_registered_sidebars); echo '</pre>' So I'm getting something like: Array ( ...
10
votes
2answers
6k views

what is allowed as an id argument in register_sidebar( $args )

I am want to register a sidebar but i am a little confused about the uses of the id argument in register_sidebar function. Codex says: id - Sidebar id - Must be all in lowercase, with no spaces ...
3
votes
2answers
3k views

How to wrap the widget content with a div or get the widget title outside?

Is there a way to get the widget title outside of the widget area like this: <ul> <li> <h2 class="widgettitle">The title here</h2> <div class=""widget> ...
0
votes
1answer
154 views

Custom sidebar not showing in the dashboard

I am trying to create a new sidebar. For that I have used the following code: In functions.php if ( function_exists('register_sidebar') ) register_sidebar(); if ( function_exists ...