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]
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]
James Coletti
Posted on February 25th, 2009 at 10:49 PM
One step closer to WordPress as a CMS. I think it would be a very useful feature.
Gustaf Jarnling (gjarnling)
Posted on February 26th, 2009 at 12:31 AM
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!
Dean Saliba
Posted on February 26th, 2009 at 8:12 AM
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.
Craig
Posted on February 26th, 2009 at 1:20 PM
That would be a great addition to the code base.
Haris
Posted on March 21st, 2009 at 7:02 PM
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.