Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I know

 wp_title("",false)

Outputs a title for a page into HTML.

How do I do the same for the

dynamic_sidebar();

?

share|improve this question
    
    
You want to display name that sidebar was registered with in front end? This is not very common, it is presumed to be for admin side use. Since you need name to call dynamic_sidebar() anyway why do you want to do this with code? –  Rarst Oct 13 '12 at 21:18
add comment

1 Answer

As @kaiser pointed out in the comments, the function reference for Dynamic_sidebar() is perfectly useful.

On the other hand, if what you'd like to do is add a custom header to a particular sidebar, you could add a text widget to the top of that sidebar in the wp-admin widget area and place your custom title in that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.