[wp-hackers] register_sidebar()

Dion Hulse (dd32) wordpress at dd32.id.au
Thu Feb 23 00:41:21 UTC 2012

Hi Micky,
Basicallly, Widget Area's used to be pretty much only sidebars.. and
so, the name register_sidebar() was used inline with the other
*_sidebar() functions.

use register_sidebar() to register a "Widget Area", be that a footer,
header, sidebar, 2nd sidebar, below-post-widget-area, or perhaps a
pop-over ad-widget-sidebar (that luckely i've never seen...)

so yes, It's just the name throwing you.


On 23 February 2012 11:32, Micky Hulse <mickyhulse.lists at gmail.com> wrote:
> Hi,
> I'm new to WP but I have a few PHP skills and I am hacking on a theme
> called PageLines.
> With that said...
> I'm creating two new "sections" to display a top and bottom
> leaderboard for ads. These sections will be NOT in the sidebar. :)
> I'm at the point in my code where I use:
> register_sidebar()
> Would I still use the above method even if my section/widget content
> will never be in a physical sidebar (I'm talking about HTML sidebar on
> the front end theme template)?
> I know that's probably a silly question, but I just want to make sure
> I using the right method. Maybe the name "sidebar" is throwing me off?
> Is there another method for registering non-sidebar sections?
> Hopefully I'm not asking a total noob question... I figured I would
> have better luck asking here than on the WP forums (anyway, I like
> e-mail listservs and I plan on hacking more in the future.) :D
> Thanks so much!
> Cheers,
> Micky
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list