function add_widget_support() {
register_sidebar(array(
'name' => 'Sidebar',
'id' => 'Sidebar',
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '',
'after_title' => ' '
));
}
function add_Main_Nav() {
register_nav_menus( array(
'primary' => esc_html__( 'Primary', 'shcleveland' ),
'footer' => esc_html__( 'Footer Menu', 'shcleveland' ),
'header_action' => esc_html__( 'Header Action', 'shcleveland' ),
) );
}
function shcleveland_theme_setup() {
wp_enqueue_style( 'header-style', '/wp-content/themes/shcleveland-theme-1/css/header-style.css' );
wp_enqueue_style( 'content-style', '/wp-content/themes/shcleveland-theme-1/css/content-style.css' );
wp_enqueue_style( 'footer-style', '/wp-content/themes/shcleveland-theme-1/css/footer-style.css' );
}
add_action('widgets_init', 'add_widget_support');
add_action('init', 'add_Main_Nav');
add_action( 'after_setup_theme', 'shcleveland_theme_setup' );
Sara R. Cleveland » About
Sara Cleveland works as a web developer by day and writes by night. When not writing or working Sara is an avid reader and baseball fan. Her other hobbies include crocheting and playing card games. She lives in northeast Ohio with her husband and their spoiled cats.