'',
'after_widget' => '',
'before_title' => '
',
));
}
register_sidebar(array(
'name'=> 'Main Sidebar',
'id' => 'main_sidebar',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '
',
));
/* ACF */
if( function_exists('acf_add_options_page') ) {
acf_add_options_page(array(
'page_title' => 'General Options',
'menu_title' => 'General Options',
'menu_slug' => 'theme-general-options',
'capability' => 'edit_posts',
'redirect' => false
));
}
/* Modify the read more link on the_excerpt() */
function custom_excerpt_length( $length ) {
return 75;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );