Yoast SEO
[Plugin: WordPress SEO by Yoast] Page/Post Title with %%sitename%% (4 posts)

  1. acb88
    Posted 4 years ago #


    I have recently installed this plugin and am getting it set up as I need it.

    I have my pages set up with the title "%%title%% - %%sitename%%" which is working fine - however I do not want the "%%sitename%%" variable to display as part of the article title, just in the browser title bar.

    I am using this code in my template:
    wp_title('', true);

    I've tried setting a title template and setting a page-specific title but both show the sitename in the article title and the browser title.



  2. kletskater
    Posted 4 years ago #

    do U have a url for us?

  3. acb88
    Posted 4 years ago #

    This page is using a fixed SEO title: http://www.exactinternet.co.uk/email-hosting/

    This page is using the title template: http://www.exactinternet.co.uk/shared-hosting/

    It would be worth highlighting I'm using the title code in both locations, so perhaps my question could be better phrased as how can I drop the %%sitename%% bit from the article title?

  4. acb88
    Posted 4 years ago #

    Fixed it myself, used this code in my template instead:

    echo get_the_title();

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic