__( 'Primary Menu', 'akasse' ), ) ); add_theme_support( 'post-formats', array( 'image', 'video', 'quote' ) ); add_theme_support( 'custom-background', apply_filters( 'akasse_custom_background_args', array( 'default-color' => "ffffff", ) ) ); } endif; // akasse_setup add_action( 'after_setup_theme', 'akasse_setup' ); function akasse_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar', 'akasse' ), 'id' => 'sidebar-1', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'akasse_widgets_init' ); if ( !function_exists( 'optionsframework_init' ) ) { define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/inc/' ); require_once dirname( __FILE__ ) . '/inc/options-framework.php'; } add_action('optionsframework_custom_scripts', 'akasse_custom_scripts'); function akasse_custom_scripts() { ?> ".of_get_option('style2', true).""; } if ( get_header_image() ) { echo ""; } } add_action('wp_head', 'akasse_custom_head_codes'); function akasse_nav_menu_args( $args = '' ) { $args['container'] = false; return $args; } // function add_filter( 'wp_page_menu_args', 'akasse_nav_menu_args' ); /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom Menu For Bootstrap */ require get_template_directory() . '/inc/wp_bootstrap_navwalker.php'; /** * Custom functions that act independently of the theme templates. Import Widgets */ //require get_template_directory() . '/inc/extras.php'; require get_template_directory() . '/inc/widgets.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php';