__( 'Primary Menu', 'biancaa' ), 'social' => __( 'Social Menu' , 'biancaa' ), ) ); // Add custom stylesheet file to the TinyMCE visual editor. add_editor_style( array( 'assets/css/editor-style.css' ) ); // Setup the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'biancaa_custom_background_args', array( 'default-color' => 'f2f2f2' ) ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form', 'gallery', 'caption' ) ); // Enable theme-layouts extensions. add_theme_support( 'theme-layouts', array( '1c' => __( '1 Column Wide', 'biancaa' ), '1c-narrow' => __( '1 Column Narrow', 'biancaa' ), '2c-l' => __( '2 Columns: Content / Sidebar', 'biancaa' ), '2c-r' => __( '2 Columns: Sidebar / Content', 'biancaa' ) ), array( 'default' => '2c-l' ) ); // This theme uses its own gallery styles. add_filter( 'use_default_gallery_style', '__return_false' ); } endif; // biancaa_theme_setup add_action( 'after_setup_theme', 'biancaa_theme_setup' ); /** * Registers sidebars. * * @since 1.0.0 * @link http://codex.wordpress.org/Function_Reference/register_sidebar */ function biancaa_register_sidebars() { register_sidebar( array( 'name' => _x( 'Primary', 'sidebar', 'biancaa' ), 'id' => 'primary', 'description' => __( 'The main sidebar.', 'biancaa' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => _x( 'Subsidiary', 'sidebar', 'biancaa' ), 'id' => 'subsidiary', 'description' => __( 'The sidebar will appear on the footer of your site.', 'biancaa' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'biancaa_register_sidebars' ); /** * Custom template tags for this theme. */ require trailingslashit( get_template_directory() ) . 'inc/template-tags.php'; /** * Enqueue scripts and styles. */ require trailingslashit( get_template_directory() ) . 'inc/scripts.php'; /** * Custom functions that act independently of the theme templates. */ require trailingslashit( get_template_directory() ) . 'inc/extras.php'; /** * Customizer additions. */ require trailingslashit( get_template_directory() ) . 'inc/customizer.php'; /** * We use some part of Hybrid Core to extends our themes. * * @link http://themehybrid.com/hybrid-core Hybrid Core site. */ require trailingslashit( get_template_directory() ) . 'inc/hybrid/loop-pagination.php'; require trailingslashit( get_template_directory() ) . 'inc/hybrid/theme-layouts.php'; /** * Custom widgets. */ require trailingslashit( get_template_directory() ) . 'inc/classes/widget-about.php'; // require trailingslashit( get_template_directory() ) . 'inc/classes/widget-slides.php';