A new term to describe widgets?

Ptah Dunbar proposes a get_widget() function. Similar to get_sidebar(), but it’s there to show that widgets don’t necessarily have to show up on a sidebar area. What do you think? [Link]

Post Revisions:

Stay up to date on WordPress news:

About the author:

Do you have your copy of The WPCandy Quarterly?

The Quarterly is our print magazine all about WordPress. It is released four times yearly (hence the name) and is filled to the brim with exclusive articles about WordPress, written by some of the brightest minds in the community.

Pre-order your issue today!

5 Responses to A new term to describe widgets?

  1. One step closer to WordPress as a CMS. I think it would be a very useful feature.

  2. Gustaf Jarnling (gjarnling) says:

    Very useful. Would streamline the code more. As of now one sometimes call the widget via the sidebar and sometimes through the code; i.e. using a widget in the footer. This is a great suggestion!

  3. And some people say WordPress is rather limited!

    I think this is a great suggestion and should sped up the loading the of the page.

  4. Craig says:

    That would be a great addition to the code base.

  5. Haris says:

    Pro

    I’m 100% up for the change. Semantic value to the code always make me happy. :)

    @Dean, how would it speed up the loading of the page? If the change happens, wordpress will RENAME the function get_sidebar() to get_widget() unless they make changes to the code to improve the perfomance of the wdgets.

Leave a Reply

Please note that WPCandy is a moderated community.

 

Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>