WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
How to Set Title Separator? (6 posts)

  1. Mike
    Member
    Posted 1 year ago #

    WordPress version: 3.4.1
    WordPress SEO version: 1.2.5
    Theme: Genesis 1.8.2

    I did this: Trying to change the title separator.

    I expected the plugin to do this: Have a way to change the separator.

    Instead it did this: When Yoast SEO is activated, Genesis SEO is disabled.

    -----
    I cannot figure out how to edit the separator in either Genesis or Yoast's SEO plugin. I tried to find a similar question in the forum, but failed. Any suggestions appreciated.

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. sidy3d
    Member
    Posted 1 year ago #

    Hello,
    This is usally your theme that takes care of the seperator. Don't worry it will be easy to change. In your header.php files search for the title line and replace it with this:
    <title><?php wp_title(''); ?></title>
    Inside the 2 quotation marks you can put whatever seperator you want such as | and -. Just makesure to repeat these steps after a theme upgarde.

  3. Mike
    Member
    Posted 1 year ago #

    That technique doesn't work for a Genesis theme.

    Genesis creates the title in /wp-content/themes/genesis/lib/structure/header.php

    However, when the Yoast SEO plugin is active, it appears that the Genesis title-handling code never runs. Deactivate WordPress SEO, and it runs as expected.

    So even if I hard code a separate into the theme, it is not used when the WordPress SEO is active.

    Yoast.com is running on a Genesis theme, so I'm guessing that I'm overlooking something simple here. Just don't know what it is.

    Mike

  4. sidy3d
    Member
    Posted 1 year ago #

    Ok, can you post a bit of the header code?
    Thanks,

  5. Mike
    Member
    Posted 1 year ago #

    I'm fairly confident that the problem lies elsewhere.

    I've already tested to confirm that the title function from the Genesis header.php is not executed while WordPress SEO is active.

    From http://yoast.com/themes-plugins-seo/:

    "Genesis also disables their own SEO functionality when my, or any other SEO plugin, is active: it’s their users choice, not theirs."

  6. sidy3d
    Member
    Posted 1 year ago #

    Ok

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic