__( 'Blog Sidebar', 'culture' ), 'id' => 'blog-sidebar', 'description' => __( 'Add widgets here to appear in your blog sidebar.', 'culture' ), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); register_sidebar(array( 'name' => __( 'Page Sidebar', 'culture' ), 'id' => 'page-sidebar', 'description' => __( 'Add widgets here to appear in your page sidebar.', 'culture' ), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); } add_action( 'widgets_init', 'culture_register_sidebar' ); #-------------------------------------------------------------------# # THEME CONFIGURATION #-------------------------------------------------------------------# function culture_theme_config() { // This theme styles the visual editor with editor-style.css to match the theme style. add_editor_style(); // Let WordPress manage the document title. add_theme_support( 'title-tag' ); // Load text domain load_theme_textdomain('culture'); // Add default posts and comments RSS feed links to head. add_theme_support('automatic-feed-links'); // Setup the WordPress custom logo feature. add_theme_support( 'custom-logo', array( 'width' => 170, 'height' => 40, 'flex-width' => true, )); // Enable support for Post Formats. add_theme_support( 'post-formats', array( 'audio', 'gallery', 'image', 'quote', 'video' )); // Setup the WordPress core custom header feature. add_theme_support( 'custom-header' ); // Enable support for Post Thumbnails on posts and pages. add_theme_support('post-thumbnails'); set_post_thumbnail_size( 150, 150, true ); //add_image_size( 'culture_blog_post_thumbnail',675,300,true ); // culture_blog_post_thumbnail size add_image_size( 'author_image_thumbnail',190,190,true ); // author_image_thumbnail size // this theme uses wp_nav_menu() in one location. register_nav_menus( array( 'Header' => __( 'Main Navigation', 'culture' ), )); } add_action( 'after_setup_theme', 'culture_theme_config' ); #-----------------------------------------------------------------# # FROM HERE YOU CAN ADD YOUR OWN FUNCTIONS #-----------------------------------------------------------------#