WordPress.org

Forums

[resolved] hyphen from site title wont go away, help? (9 posts)

  1. puifon
    Member
    Posted 1 year ago #

    There is a hyphen next to my site title that I would like to go away, Ive been browsing other forums and discovered that it was Yoast SEO plugin that might be the problem, I've unchecked Force rewrite titles in the Titles & Meta settings but then my site title appears twice like this Puifon LuongPuifon Luong. In my themes css i replaced their
    <title><?php ui::title(); ?></title> with <title><?php wp_title(''); ?></title>

    it seems to work after I've changed it but then the hyphen appears after a few seconds and has remained there since, can anyone help me fix this?

  2. virendra930
    Member
    Posted 1 year ago #

    Hii puifon,
    Can you please share your website URL....????

  3. puifon
    Member
    Posted 1 year ago #

    Hi sorry I forgot to put that its : http://www.puifonluong.com/

  4. virendra930
    Member
    Posted 1 year ago #

    just go to the title & Metas option in Seo
    then go to post type from top menu
    and remove this "%%sep%%" from post and pages title template
    I hope you understand. and you can also find a image which will clarify
    here

  5. puifon
    Member
    Posted 1 year ago #

    Hi i did this but now it the site title is appearing as the url?

  6. virendra930
    Member
    Posted 1 year ago #

    could you please share screen-shot of the same page which I have given above.

  7. puifon
    Member
    Posted 1 year ago #

    Hi sorry now the site title is back, I forgot to close the tag in the header, but the hyphen is still there. screenshort here: http://i.imgur.com/BqisL4F.png

  8. virendra930
    Member
    Posted 1 year ago #

    just go to the Home tab near Post Types tab and paste this code
    %%title%% %%sitename%%
    please find screenshort here

  9. puifon
    Member
    Posted 1 year ago #

    Hi thanks alot, hyphen is gone now :)

Topic Closed

This topic has been closed to new replies.

About this Topic