Yoast SEO
[Plugin: WordPress SEO by Yoast] Writing Descriptions But No Titles (5 posts)

  1. matlamont
    Posted 4 years ago #

    I'm using this plugin on other blogs with success but for my recent project it simply will not write titles for my pages.

    I'm using the <?php wp_title(''); ?> tag in my header and viewing the source shows the description tage working fine.

    Any help appriciated

  2. valentina martino
    Posted 4 years ago #

    i have the same issue with posts : i set my title like %%title%% | %%sitename%% but only the post name shows up.

    thank you in advance for the help

  3. dallasm
    Posted 4 years ago #

    I think you will find the page title (shown at the top of your browser) has been changed but the post title (in your <h1> )tags does not change
    If you want this to happen you need to replace the title with <?php wp_title(''); ?>

  4. valentina martino
    Posted 4 years ago #

    so sorry it didn't work :(
    the strange think it's that if i use the panel inside the post to write the seo_title it works like a charm. page and categories work fine

  5. matlamont
    Posted 4 years ago #

    Sorry guys i found the culprit in my functions file

    global $page, $paged;
        $sep = " | "; # delimiter
        $newtitle = get_bloginfo('name'); # default title

    Once removed it worked a treat :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic