61 Responses

  1. The Frosty
    The Frosty Published |

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

    Reply
  2. Mike Smith
    Mike Smith Published |

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

    Reply
  3. Ptah Dunbar
    Ptah Dunbar Published |

    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.

    Reply
  4. Jake
    Jake Published |

    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

    Reply
  5. Today in WordPress world – 25/11 | Links | WereWP
  6. Mike Smith
    Mike Smith Published |

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

    Reply
  7. shane
    shane Published |

    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.

    Reply
  8. Judy Jacob
    Judy Jacob Published |

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

    Reply
  9. kucrut
    kucrut Published |

    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.

    Reply
  10. Agung
    Agung Published |

    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

    Reply
  11. Jeffro
    Jeffro Published |

    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.

    Reply
  12. Andri
    Andri Published |

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

    Reply
  13. muxin
    muxin Published |

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

    Reply
  14. Kevin
    Kevin Published |

    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?

    Reply
  15. Yuan.Yu
    Yuan.Yu Published |

    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.

    Reply
  16. Mark Henry
    Mark Henry Published |

    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.

    Reply
  17. Nick
    Nick Published |

    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.

    Reply
  18. darila
    darila Published |

    Finnaly, I wonder why it took so long..

    greetings darila

    Reply
  19. andri
    andri Published |

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

    Reply
  20. A Roundup of Posts on WordPress 2.9
    A Roundup of Posts on WordPress 2.9 at |
  21. Stella
    Stella Published |

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

    Reply
  22. Webbhotell
    Webbhotell Published |

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

    Reply
  23. Gilles
    Gilles Published |

    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.

    Reply
  24. maca
    maca Published |

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

    Reply
  25. WordPress 2.9 Enhancements Every Developer Must Know | CMS-MASTER
  26. Wordpress 2.9 Sidebar Disappeared | Microguy Internet Consultant
  27. Greeny
    Greeny Published |

    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.

    Reply
  28. James
    James Published |

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

    Reply
  29. mybb
    mybb Published |

    thank you your useful post :)

    Reply
  30. Dravalley Webmaster Forum
    Dravalley Webmaster Forum Published |

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

    Reply
  31. Jayson David
    Jayson David Published |

    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

    Reply
  32. WordPress 2.9 | New Features | WordPress Theme Customizations
  33. sxe
    sxe Published |

    Thank you 2.9 great..

    Reply
  34. WordPress 2.9: The Bloggers Gift for the Holidays | WordCast - Blogging news, WordPress help, WordPress plugins, WordPress themes, WordPress news
  35. Eurolappen @ Fahrschule Polen
    Eurolappen @ Fahrschule Polen Published |

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

    Reply
  36. nagradne igre
    nagradne igre Published |

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

    Reply
  37. Daniel Wood
    Daniel Wood Published |

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

    Reply
  38. Grobi
    Grobi Published |

    Thank you for this interesting info. I love 2.9!

    Reply
  39. WordPress 2.9 is out! | WordPress | WereWP
    WordPress 2.9 is out! | WordPress | WereWP at |
  40. chs
    chs Published |

    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.

    Reply
  41. Rich
    Rich Published |

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

    Reply
  42. Dan Wheeler
    Dan Wheeler Published |

    Where do you put the code to change the sidebars?

    Reply
  43. Rich
    Rich Published |

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

    Reply
  44. Mukhtaruddin
    Mukhtaruddin Published |

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

    Reply
  45. David
    David Published |

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

    Reply
  46. Jason Pereira
    Jason Pereira Published |

    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.

    Reply
  47. sergio
    sergio Published |

    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.

    Reply
  48. Sidebars in WordPress
    Sidebars in WordPress at |
  49. budget hotel in jodhpur
    budget hotel in jodhpur Published |

    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.

    Reply
  50. 3m espe
    3m espe Published |

    This is probably a validation error from your theme. The default WordPress widgets output valid HTML.thanks.

    Reply

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.

css.php