= 2 || $page >= 2 ) $title = "$title $sep " . sprintf( _e( 'Page', 'rambo' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'rambo_head', 10,2 ); add_action( 'after_setup_theme', 'rambo_setup' ); function rambo_setup() { //content width if ( ! isset( $content_width ) ) $content_width = 770; // Load text domain for translation-ready load_theme_textdomain( 'rambo', WEBRITI_THEME_FUNCTIONS_PATH . '/lang' ); add_theme_support( 'post-thumbnails' ); //supports featured image add_theme_support( 'automatic-feed-links' ); //feed links enabled add_image_size('blog1_section_img',270,260,true); add_image_size('blog2_section_img',770,300,true); // This theme uses wp_nav_menu() in one location. //register_nav_menu( 'primary', __( 'Primary Menu', 'rambo' ) ); register_nav_menus( array( 'primary' => __('Primary Menu', 'rambo' ), ) ); //do_action('busiprof_init');//load admin pannal file require_once('theme_setup_data.php'); require( WEBRITI_THEME_FUNCTIONS_PATH . '/theme_options/option_pannel.php' ); // for Custom Menus // setup admin pannel defual data for index page $rambo_theme_options=theme_data_setup(); add_option('rambo_theme_options',$rambo_theme_options); } function custom_excerpt_more( $more ) { return ''; } add_filter( 'excerpt_more', 'custom_excerpt_more' ); ?>