Support » Plugin: Yoast SEO » yoast seo pluging shortcode probleme

  • Resolved emyabdel

    (@emyabdel)


    Hi, I want to use this shortcode at the beginning of my post to show breadcrumb
    [wpseo_breadcrumb]
    When I put it at the beginning of the post, yoast shows me this error:
    Keyphrase in the introduction: Your keyphrase or its synonyms do not appear in the first paragraph.
    So, yoast consider the shortcode as text
    Is there any solution?
    Thanks

    • This topic was modified 1 month, 1 week ago by  emyabdel.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support amboutwe

    (@amboutwe)

    I was unable to reproduce this behavior using Yoast SEO 12.2, WordPress 5.2.3 and a default theme, Twenty Nineteen 1.4.

    Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen

    Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.

    Thanks but did you understand the problem? Please read again my question

    Plugin Support amboutwe

    (@amboutwe)

    Here are the steps I took while attempting to reproduce the issue:
    1. Brand new WordPress install
    2. Install and activate Yoast SEO
    3. Enable Yoast SEO breadcrumbs
    4. Go to Posts and edit the default ‘Hello World’ post
    5. Add the word keyphrase to the first paragraph only.
    6. Before the first paragraph add the breadcrumb shortcode.
    7. Set the focus keyphrase to keyphrase.
    8. The analysis shows Keyphrase in introduction: Well done!

    Steps 5 & 6 https://pasteboard.co/IAsnnDT.png
    Steps 7 & 8 https://pasteboard.co/IAsnFcM.png

    I also checked the code that is analyzed and the breadcrumb shortcode is analyzed as

    <!-- wp:shortcode -->
    
    <!-- /wp:shortcode -->
    

    With default settings the breadcrumb shortcode is not analyzed as text. A conflict check will help determine what non-default product (plugin, theme, etc) is needed to experience the issue you described. This will help me determine why you’re seeing a different result.

    If I’ve misunderstood your issue, please let me know.

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.