60 Responses

  1. The Frosty
    The Frosty November 25, 2009 at 12:22 am | | Reply

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

  2. Mike Smith
    Mike Smith November 25, 2009 at 2:28 am | | Reply

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

  3. Ptah Dunbar
    Ptah Dunbar November 25, 2009 at 5:40 am | | Reply

    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
    Jake November 25, 2009 at 8:12 am | | Reply

    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. Mike Smith
    Mike Smith November 25, 2009 at 12:00 pm | | Reply

    @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.

  6. shane
    shane November 25, 2009 at 12:45 pm | | Reply

    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.

  7. Judy Jacob
    Judy Jacob November 26, 2009 at 3:19 pm | | Reply

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

  8. kucrut
    kucrut November 28, 2009 at 7:25 am | | Reply

    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.

  9. Agung
    Agung November 28, 2009 at 4:54 pm | | Reply

    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

  10. Jeffro
    Jeffro November 28, 2009 at 6:06 pm | | Reply

    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.

  11. Andri
    Andri November 29, 2009 at 6:57 am | | Reply

    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 :)

  12. muxin
    muxin November 29, 2009 at 11:11 am | | Reply

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

  13. Kevin
    Kevin November 29, 2009 at 12:26 pm | | Reply

    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?

  14. Yuan.Yu
    Yuan.Yu November 30, 2009 at 1:31 am | | Reply

    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.

  15. Mark Henry
    Mark Henry December 1, 2009 at 7:37 am | | Reply

    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.

  16. Nick
    Nick December 1, 2009 at 8:26 am | | Reply

    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.

  17. darila
    darila December 3, 2009 at 5:20 am | | Reply

    Finnaly, I wonder why it took so long..

    greetings darila

  18. andri
    andri December 9, 2009 at 12:13 pm | | Reply

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

  19. A Roundup of Posts on WordPress 2.9 December 9, 2009 at 11:43 pm |
  20. Stella
    Stella December 10, 2009 at 5:39 am | | Reply

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

  21. Webbhotell
    Webbhotell December 15, 2009 at 8:04 am | | Reply

    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. :)

  22. Gilles
    Gilles December 15, 2009 at 7:01 pm | | Reply

    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.

  23. maca
    maca December 17, 2009 at 12:31 pm | | Reply

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

  24. Greeny
    Greeny December 24, 2009 at 3:18 am | | Reply

    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.

  25. James
    James December 31, 2009 at 2:55 am | | Reply

    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 :)

  26. mybb
    mybb December 31, 2009 at 6:42 am | | Reply

    thank you your useful post :)

  27. Dravalley Webmaster Forum
    Dravalley Webmaster Forum December 31, 2009 at 1:37 pm | | Reply

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

  28. Jayson David
    Jayson David January 2, 2010 at 10:54 am | | Reply

    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

  29. sxe
    sxe January 7, 2010 at 10:53 am | | Reply

    Thank you 2.9 great..

  30. Eurolappen @ Fahrschule Polen
    Eurolappen @ Fahrschule Polen January 16, 2010 at 11:54 am | | Reply

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

  31. nagradne igre
    nagradne igre January 25, 2010 at 1:38 am | | Reply

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

  32. Daniel Wood
    Daniel Wood February 14, 2010 at 3:20 pm | | Reply

    This is a great Wordpress Blog. What theme are you using?

  33. Grobi
    Grobi February 16, 2010 at 11:33 am | | Reply

    Thank you for this interesting info. I love 2.9!

  34. WordPress 2.9 is out! | WordPress | WereWP February 18, 2010 at 12:28 pm |
  35. chs
    chs March 13, 2010 at 1:59 am | | Reply

    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.

  36. Rich
    Rich March 24, 2010 at 11:47 am | | Reply

    I really need this information. I need it for changing and categorizing widgets in my site. It’s very helpful. Thank you.

  37. Dan Wheeler
    Dan Wheeler March 25, 2010 at 1:58 pm | | Reply

    Where do you put the code to change the sidebars?

  38. Rich
    Rich April 28, 2010 at 1:07 pm | | Reply

    Great. I will consider your ideas although I already knew few things in making my widget more interactive and interesting for visitors. ;-)

  39. Mukhtaruddin
    Mukhtaruddin May 4, 2010 at 2:41 pm | | Reply

    Interesting information, I am a new wordpress user so your articles useful for me to learn it.. Thanks

  40. David
    David May 6, 2010 at 3:25 pm | | Reply

    Widgets are easy to manage as long as you know what to include in your widget. It’s very flexible to use. Thanks for sharing great ideas for us. ;-)

  41. Jason Pereira
    Jason Pereira May 18, 2010 at 10:31 pm | | Reply

    Description for widget areas are very helpful for your visitors. We should all provide an accessible place for them to navigate your site and this will show the user friendly site.

  42. sergio
    sergio June 4, 2010 at 12:13 pm | | Reply

    Can anybody explain me how the heck the %2$s works?

    I’ve been trying to get the widget number, without the word “text-” before it, and I can’t figure it out.

    Is that a way to retrieve ANY variable?
    Do they have to be setup to be retrieved with that percent sign?
    Is there other way to get the widget number (inside that sidebar)?

    Thanks.

  43. Sidebars in WordPress November 8, 2010 at 11:12 pm |
  44. budget hotel in jodhpur
    budget hotel in jodhpur September 13, 2011 at 11:41 am | | Reply

    I like this site and saw it on AOL search. I think your thoughts on istanbul information guide | TTG Travel Istanbul are right on. Thanks for writing about this and looking forward to reading more on your site.

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 (i.e., 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.