Created
April 30, 2012 02:30
-
-
Save jubalm/2555005 to your computer and use it in GitHub Desktop.
wordpress - register sidebar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Register Sidebar | |
if ( function_exists('register_sidebar') ) { | |
register_sidebar(array( | |
'before_widget' => '<div class="widget"', | |
'after_widget' => '</div>', | |
'before_title' => '<h4 class="widget-title">', | |
'after_title' => '</h4>', | |
'name' =>'General Sidebar' | |
'id' =>'general-sidebar' | |
)); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment