= 2 || $page >= 2 ) && ! is_404() ) { $title = "$title $sep " . sprintf( __( 'Page %s', 'basee' ), max( $paged, $page ) ); } return $title; } add_filter( 'wp_title', 'basetheme_fnc_wp_title', 10, 2 ); /** * A helper conditional function that returns a boolean value. * * @since Basee 1.0 * * @return bool Whether there are featured posts. */ function basetheme_fnc_has_featured_posts() { // return ! is_paged() && (bool) basetheme_fnc_get_featured_posts(); } /** * upbootwp_breadcrumbs function. * Edit the standart breadcrumbs to fit the bootstrap style without producing more css * @access public * @return void */ function basetheme_fnc_breadcrumbs() { $delimiter = '›'; $home = 'Home'; $before = '
  • '; $after = '
  • '; if (!is_home() && !is_front_page() || is_paged()) { echo ''; } }