47 responses to “Sidebar (widget area) descriptions in WordPress 2.9”

  1. The Frosty

    Noted! Will add that to any child themes, or regular themes with additional widget areas!

  2. Mike Smith

    Do you know if adding this before the 2.9 release will cause errors for earlier versions of WP?

  3. Ptah Dunbar

    Glad they committed that ticket. This will come in handy for a lot of themes.

    @Mike Smith: No it won’t affect any earlier versions of WP as the description field simply gets disregarded.

  4. Jake

    Hey Justin,

    I’m not a theme developer, but a user of course. I could see how adding this description argument could be very useful to the user and, in my opinion, only adds to the “professionalism” of any well developed theme. It’s the little things like this that go a long way in making a theme user-friendly.

    Jake

  5. Today in WordPress world – 25/11 | Links | WereWP

    [...] Sidebar (widget area) descriptions in WordPress 2.9 WordPress 2.9 will allow theme developers to add a description for each widget area. Here is how to add it. (tags: wordpress tutorial sidebar widgets) Leave a Reply Click here to cancel reply. [...]

  6. Mike Smith

    @Ptah – thanks for the response. It’s good to know, and something I’ll be putting together for the themes I’m releasing on Jan 1st.

  7. shane

    Right on. Makes me wonder when they will just drop the inaccurate “sidebar” name and call it something more generic such as “container” or some such as most of us are using them throughout the theme to handle all sorts or requirements.

  8. Judy Jacob

    I have been contemplating blogging after following so many blogs, and I am tending towards WP

  9. kucrut

    Is there any way to group the custom widgets? Normally, there are two widgets groups in the widgets admin panel; ‘Available Widgets’ and ‘Inactive Widgets’. I think it’d be cool if the widgets provided by the theme (or plugin) can have their own group.

  10. Agung

    whether this method works for hybrid themes? because the hybrid theme has no sidebar and how I can add a sidebar for hybrid themes. thanks you so much justin. i love you blog

  11. Jeffro

    I was reading about this today on Yoasts Geeky WP2.9 article and I wondered how long it would take you to add descriptions to all the different sidebars to give me a direction of where on the site those widgets will be displayed. This is a nice change.

  12. Andri

    Hi Justin,

    I am using your hybrid theme, and i am so satisfied… but there are so many functions i don’t know… Let me Thank you so much for this widget description, so helpful :)

  13. muxin

    I gotta tell you, PHP code is NOT my thing, thanks for making it easy for me.. the original WP widgets are just dull..

  14. Kevin

    This is a great thing I am in the middle of a theme right now and this will bring a great deal of organization to my project. I wonder why it took so long?

  15. Yuan.Yu

    Hi Justin,

    Whether can do it like this: Index, single, page all have their own sidebar? I do not love every page have the same sidebar.

    Thanks.

  16. Mark Henry

    Valuable information!! I tried the code you given and got the result. Providing a description is good idea to our visitors.. THANKS FOR THE POST.

  17. Nick

    I wish the developers had used a name other than “sidebar” to describe the area that contains widgets since you can widgetize any part of a theme.

  18. darila

    Finnaly, I wonder why it took so long..

    greetings darila

  19. andri

    Btw, how to hide widget on single post… or to show widget on homepage only?

  20. A Roundup of Posts on WordPress 2.9

    [...] of WordPress 2.9 is showcased within the vote results, and that is on embedding and multimedia.— Sidebar (Widget Area) Descriptions in WordPress 2.9 – WordPress 2.9 gives developers the ability to add descriptions for each widget area, ideal [...]

  21. Stella

    Thanks for sharing such a useful information with us. Keep on writing.

  22. Webbhotell

    Wooo finally! So this feature is available by version 2.9 of our beloved WP? This is gonna be very useful especially for those who are not very familiar with widgets and where they go. I’ve been blogging for a long time both on the free WP blog and personally hosted WP, and up to now I still get confused by these widgets. I do hope designers and developers will make the time to add the descriptions to their already excellent creations. :)

  23. Gilles

    I can see this helping the end user…but what I would really like to see WP do is allow entering a title to the widget but being able to “not” display it in the front-end. I still yet to see anything that can do that simply by having a function added to every widget to display or not display the title.

  24. maca

    thank you for this interesting info. i was looking for something like this.

  25. WordPress 2.9 Enhancements Every Developer Must Know | CMS-MASTER

    [...] Sidebar (widget area) descriptions in WordPress 2.9 [...]

  26. Wordpress 2.9 Sidebar Disappeared | Microguy Internet Consultant

    [...] As you can see, my sidebar has disappeared. This problem is related to a lack of compatibility with my theme and Wordpress 2.9. I will be working on this problem over the next few days and will post my solution soon. I will start my quest here. [...]

  27. Greeny

    I just try validate my WP blog and I see Text widget give validation errors even is empty, even it have inserted a piece of code inside. I use WP v2.8
    W3C Validator verify the same HTML source code which I view in the my browser and indicate me the place of them, but I dont know where is the code which I have to corect.
    What is/are the name of file(s) I must fix?
    All that wrong “li” and “ul” about Validator tell me to fix, are part of Wordpress code not mine.
    Please tell me if version 2.9 contains a new text widget, which permits W3C validation.
    Thank you.

  28. James

    Oh, for “Wordpress 2.9″, that’s why I spent the last 4 hours trying to figure out what I did wrong.
    After the 2.9 upgrade it worked perfectly :)

  29. mybb

    thank you your useful post :)

  30. Dravalley Webmaster Forum

    thanks a lot. was looking for something like this. helps a lot.

  31. Jayson David

    Thanks for this tip.

    I was thinking of making my site to have something like having images on the post excerpt and then when they click on it takes them to the single post and now its built in on 2.9. Great.

    - j

  32. WordPress 2.9 | New Features | WordPress Theme Customizations

    [...] Sidebar (widget area) descriptions in WordPress 2.9 [...]

  33. sxe

    Thank you 2.9 great..

  34. WordPress 2.9: The Bloggers Gift for the Holidays | WordCast - Blogging news, WordPress help, WordPress plugins, WordPress themes, WordPress news

    [...] Sidebar (widget area) descriptions in WordPress 2.9 – Justin Tadlock [...]

  35. Eurolappen @ Fahrschule Polen

    Thanks for the script and the information. Have already included it.

  36. nagradne igre

    thanks for sharing, didnt know this new feature in 2.9 version. I cant image what else they will put in 3.0??? :)

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (e.g., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.