Skip to content

Instantly share code, notes, and snippets.

@jameshibbard
Created July 9, 2012 12:51
Show Gist options
  • Save jameshibbard/3076320 to your computer and use it in GitHub Desktop.
Save jameshibbard/3076320 to your computer and use it in GitHub Desktop.
Sample functions.php file for WordPress site
<?php
if ( function_exists('register_sidebar') ) {
register_sidebar(array('name' => 'Sidebar',
'description' => 'Sidebar for navigation',
'before_widget' => '<div class="widget">',
'after_widget' => '</div>',
'before_title' => '',
'after_title' => ''));
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment