WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know


Outputs a title for a page into HTML.

How do I do the same for the



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

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

Your Answer


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.