__( 'Primary Menu', 'bersallis' ), ) ); /** * Enable support for Post Formats */ add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) ); } endif; // bersallis_setup add_action( 'after_setup_theme', 'bersallis_setup' ); /** * Setup the WordPress core custom background feature. * * Hooks into the after_setup_theme action. */ function bersallis_register_custom_background() { $args = array( 'default-color' => 'ff0000', 'default-image' => get_template_directory_uri() . '/img/backgroundstripe.png', ); $args = apply_filters( 'bersallis_custom_background_args', $args ); if ( function_exists( 'wp_get_theme' ) ) { add_theme_support( 'custom-background', $args ); } } add_action( 'after_setup_theme', 'bersallis_register_custom_background' ); /** * Register widgetized area and update sidebar with default widgets */ function bersallis_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar', 'bersallis' ), 'id' => 'sidebar-1', 'before_widget' => '', 'before_title' => '