Support » Plugin: The SEO Framework » Remove site title from Category Title

  • Resolved Paul Thomson

    (@pthomson87)


    Good morning,

    Firstly, many thanks for creating such a useful plugin. Trying to get a small issue fixed and get everything configured before potentially upgrading to help support your works.

    I have one small issue that I was hoping you could help with…

    I would like to remove the site title and prefix from blog category/archive pages, I don’t think the user needs to see the title of the website there.

    I would however like to keep the site title in the <title> section.

    Can you please advise how I can do this as I cannot currently figure it out.

    Many thanks,
    Paul

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi @pthomson87,

    Feel free to drop by more often, as we then know what users want and/or need 🙂

    For the archive prefix removal, you can remove it by either entering a manual SEO title or go to “SEO Settings -> Title Settings -> Prefixes” to remove them all.

    If you’d like to remove the blog name from the additions, then you can use a filter.
    I hope to have the filter rendered completely redundant by version 3.2, as it should then all be possible through options.

    add_filter( 'the_seo_framework_add_blogname_to_title', function( $default = true ) {
    	if ( the_seo_framework()->is_archive() ) // this has admin detection support.
    		return false;
    	return $default;
    } );
    

    Let me know if you need anything else 🙂 Cheers!

    Hello Sybre!

    Wow! What wonderful support, your solution works perfectly, many thanks. 5-star review coming your way!

    I look forward to the release of 3.2. Will look into upgrading to premium in the coming days,

    All the best,
    Paul

    Plugin Author Sybre Waaijer

    (@cybr)

    No problem Paul! Thanks for the review 😀

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove site title from Category Title’ is closed to new replies.