. */ add_theme_support('automatic-feed-links'); /** * Add title tag support, dont add title tag in header.php */ add_theme_support('title-tag'); /** * Enable support for post thumbnails and featured images. */ add_theme_support('post-thumbnails'); set_post_thumbnail_size( 150, 150 ); // Unlimited height, soft crop /** * Add support for two custom navigation menus. */ register_nav_menus(array( 'primary' => __('Primary Menu', 'blogista') )); /** * Add support for custom header. */ add_theme_support('custom-header', array( 'height' => 500, 'width' => 960, 'max-width' => 2000, 'default-image' => '', 'random-default' => false, 'default-text-color' => '', 'header-text' => true, 'uploads' => true, 'wp-head-callback' => '', 'admin-preview-callback' => '' )); /* * This theme supports custom background color and image, * and here we also set up the default background color. */ add_theme_support('custom-background', array( 'default-color' => 'e6e6e6' )); } endif; //blogista_setup add_action('after_setup_theme', 'blogista_setup'); function blogista_widgets_init() { register_sidebar(array( 'name' => __('Widget area','blogista'), 'id' => 'sidebar-1', 'description' => __('add widget here to appear in sidebar area', 'blogista'), 'before_widget' => '', 'before_title' => '