Return to Snippet

Revision: 49299
at July 19, 2011 07:53 by redconservatory


Initial Code
register_sidebar(array(
  'name' => 'Name-goes-here',
  'description' => 'Description goes here',
  'before_title' => 'HTML before the sidebar goes here',
  'after_title' => 'HTML after the sidebar goes here'
));

Initial URL


Initial Description
Cut-and-paste the following into your functions.php file (inside of your theme folder).

Change the Name-goes-here to whatever you want.

Initial Title
Wordpress: create a custom sidebar / any zone for widgets

Initial Tags
php, wordpress

Initial Language
PHP