WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] %%excerpt%% not working (10 posts)

  1. andy987
    Member
    Posted 2 years ago #

    In the titles section, I entered the code for excerpt in the meta description field. However, all posts are still showing an auto-generated description. Anything obvious I need to check?

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

  2. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    How do you mean they're still showing an auto-generated description? In Google? That'll always happen when your meta description doesn't contain the searched for keyword...

  3. andy987
    Member
    Posted 2 years ago #

    In the titles section of the settings, I have added %%excerpt%% to the description box for posts. However, when I view the source code of the posts on my site, they are showing the meta description with the first bit of content on the site, not the excerpts I have written.

    I use a W3 cache, and have purged the cache, but its still the first bit of content on the page that is being used, not the excerpts.

  4. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Did you clear the object cache too? Can you give me your site's URL so I can check?

  5. andy987
    Member
    Posted 2 years ago #

    Yes I cleared the cache.

    The site is juicing-for-health.net

  6. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Could you try if %%excerpt_only%% works any better?

  7. andy987
    Member
    Posted 2 years ago #

    I tried that already. It didn't work either.

  8. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Where do you enter the excerpt, can you show a screenshot of that? (to make sure it's not doing something wrong...)

  9. andy987
    Member
    Posted 2 years ago #

    Sorry, it is working OK. The meta descriptions I was seeing as the start of the page started off with:

    property="og:description" and not meta description, which is correctly using the excerpt. Sorry to have wasted your time. Damn Facebook adding that (I assume it's Facebook).

    Thanks for all your help.

  10. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    That's my Facebook integration indeed :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic