• On my post pages, I’m trying to remove the blog title from the title tag. In the header file, I have only this:

    <title><?php wp_title( '' ); ?></title>

    Yet, on post pages it appears as Post title | Blog Title and I can’t figure out where that’s coming from or how to change it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter justinmc

    (@justinmc)

    I also found this in my functions.php file — not sure if it’s the issue:

    /**
     * Calls the Standard SEO Titles plugin during the wp_title action to render
     * SEO-friendly page titles.
     */
    if( standard_using_native_seo() ) {
    	function standard_seo_titles() {
    
    		include_once( get_template_directory() . '/lib/seotitles/standard_seotitles.php' );
    		echo Standard_SeoTitles::get_page_title( get_the_ID() );
    
    	} // end standard_seo_tiltes
    	add_filter( 'wp_title', 'standard_seo_titles' );
    } // end if

    blog title is added using this function bloginfo( ‘name’ );
    try to search it in your theme files.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Title tag’ is closed to new replies.