Skip to content

Instantly share code, notes, and snippets.

@ivanteoh
Created July 5, 2020 04:47
Show Gist options
  • Save ivanteoh/907f362edf28581265ef791e756b6778 to your computer and use it in GitHub Desktop.
Save ivanteoh/907f362edf28581265ef791e756b6778 to your computer and use it in GitHub Desktop.
WordPress Theme Development 6 - Theme Functions
<?php
/**
* @package WordPress
* @subpackage Your_Theme
*/
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '',
'after_title' => '',
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment