• Resolved Pingi.gan

    (@pingigan)


    Hi,

    I have built a new site with brasserie template (that is a great template and thanks for building it) and i have a bug that’s effects google search – the site title in tab duplicates it’s self twice even though the site name is written correctly.

    I’d would appreciate your help.

    thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Template Express

    (@danstriker)

    Hello,

    sorry about that – I will do an update right away. You can change it in the meantime if you want by removing the following from functions.php:

    /**
     * Filters the page title appropriately depending on the current page
     *
     * This function is attached to the 'wp_title' fiilter hook.
     *
     * @uses	home_url()
     * @uses	is_home()
     * @uses	is_front_page()
     */
    function brasserie_wp_title( $title ) {
    	global $page, $paged;
    
    	if ( is_feed() )
    		return $title;
    
    	$site_description = get_bloginfo( 'description' );
    
    	$filtered_title = $title . get_bloginfo( 'name' );
    	$filtered_title .= ( ! empty( $site_description ) && ( is_home() || is_front_page() ) ) ? ' | ' . $site_description: '';
    	$filtered_title .= ( 2 <= $paged || 2 <= $page ) ? ' | ' . sprintf( __( 'Page %s', 'brasserie' ), max( $paged, $page ) ) : '';
    
    	return $filtered_title;
    }

    and the following from inc/customizer.php:

    add_filter( 'wp_title', 'brasserie_wp_title' );

    Thread Starter Pingi.gan

    (@pingigan)

    Thanks a lot.
    Just wanted to say again great template ?? keep it up.

    Theme Author Template Express

    (@danstriker)

    thanks ??

    Thread Starter Pingi.gan

    (@pingigan)

    Hi again,

    After your quick response I have another question,
    can you please do the email address clickable for quick email sending?
    I would appreciate it ??

    thanks.

    Theme Author Template Express

    (@danstriker)

    you will have to wrap this in a tags in the header.php file

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site title in tab is duplicate’ is closed to new replies.