Return to Snippet

Revision: 48627
at July 6, 2011 18:49 by xavsio4


Initial Code
if ( function_exists('register_sidebar') )
register_sidebar(array('name'=>'MiddleSidebar',
'before_widget' => '<li class="widget">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h3>',
));
register_sidebar(array('name'=>'FooterSidebar',
'before_widget' => '<li class="widget">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h3>',
));

Initial URL

                                

Initial Description
<?php>
    <!–Default>

    <?php>

Note that sidebar.php must not always content the sidebar

Initial Title
Wordpress Register Sidebar Widgets

Initial Tags
wordpress

Initial Language
PHP