true, //if true, the function "sircontheme_styles" will output optimized version 'optimize_css' => false, )); //PREPARE THE THEME - the file that does plenty invisible but good stuff include($includes_path.'theme-setup.php'); //PREPARE THE THEME for advanced setup include($package_path.'theme-advanced-setup.php'); //Fallback metatags for facebook and twitter include($package_path.'metatags.php'); /**** SIDEBARS - uncomment or create own ---------------------------------------------------------------------------- */ add_action('widgets_init', function(){ /* HEADER related -- NOPE! register_sircontheme_sidebar(array( 'id' => 'header-1', 'name' => 'Top extras', 'description' => 'Extras in the top of the website. Good for adding social buttons, or maybe a searchbox' ));/**/ /* SHOWCASE */ register_sircontheme_sidebar(array( 'id' => 'showcase', 'name' => __('Header position', 'sircon_evo'), 'description' => __('Widget position below header menu, and above header image. Follows same style as the header image. Good for outputting a slideshow, instagram feed or something else instead of a static header image', 'sircon_evo') ));/**/ /* LEFT SIDEBAR */ register_sircontheme_sidebar(array( 'id' => 'left-1', 'name' => __('Left sidebar','sircon_evo'), 'description' => __('Place widgets here to display in a left sidebar', 'sircon_evo') ));/**/ /* RIGHT SIDEBAR */ register_sircontheme_sidebar(array( 'id' => 'right-1', 'name' => __('Right sidebar','sircon_evo'), 'description' => __('Place widgets here to display in a left sidebar', 'sircon_evo') ));/**/ /* FOOTER SIDEBAR */ register_sircontheme_sidebar(array( 'id' => 'footer', 'name' => __('Bottom footer','sircon_evo'), 'description' => __('Place widgets here to display in the bottom content', 'sircon_evo') ));/**/ }); /**** MENUS - some prepared, can create own ---------------------------------------------------------------------------- */ //Prepare menu locations register_sircontheme_nav_menu('main-menu', 'Display on wide screens'); register_sircontheme_nav_menu('phone-menu', 'Displayed on smaller screens'); /**** CUSTOM POST DATA - If needed and if the theme can handle it ---------------------------------------------------------------------------- */ /* //Uncomment and use if doing custom post data $postbox_id = 'testbox-1'; add_sircontheme_postbox($postbox_id, array( 'title' => 'Hello World Postbox', )); add_sircontheme_postdata($postbox_id, array( 'name' => 'name_of_value', 'type' => 'color', ));/**/ /* CUSTOM SCSS VARIABLES //Uncomment to use add_sircontheme_scss_variable('color', array( 'label' => __('Select color', 'sircon_evo'), 'name' => 'custom-color', //$theme-col )); */ /*** ---------------------------------- WRITE YOUR OWN, SITE SPESIFIC CODE BELOW ---------------------------------- ***/ ?>