(919) 404-9327 sales@lizardwebs.net

I always need this stuff for adding sidebars and widget areas and such to my WordPress themes…

Add this to the functions.php – you likely will already have a section for this – be logical.

register_sidebar(array(
	'name' => 'Header Right',
	'id' => 'header-right',
	'description' => 'Header Right',
	'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ));

And then tap this into your template page – in this case, I’m using it in the header.php

Now, if you don’t want to have to think through it too much – go here – to the Generate WordPress Sidebars page!