Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #787489

    anzwers
    Participant

    Hi dear support, today I noticed that the plugin WordPress Seo by Yoast (I use the last version) does not strip off the shortcode in the meta description field.
    Is it just a my problem??

    Thank you!

    Augusto

    #788442

    Rupok
    Member

    Hi Augusto,

    Thanks for writing in! As you don’t have any real content, that’s why it’s showing the shortcodes. If you don’t have any content for the page, then place some excerpts on Excerpts field to get rid of this issue.

    Cheers!

    #789013

    anzwers
    Participant

    Hi great Staff, I try to add more content, but the result is the same… I would like to know if it is because of my site or if the same happens to you, thank you!

    Augusto

    #789425

    Rupok
    Member

    Hi Augusto,

    Thanks for updating. It could be same for everyone. It seems they pull the content from first and can’t strip the shortcodes. That’s why I suggested to use the excerpts field so that you can manage the excerpts manually apart from the content whatever you have. Unfortunately as it’s a third party plugin so we can’t control their functionality. But using Excerpts fields should solve your issue.

    Cheers!

    #789907

    anzwers
    Participant

    Thank you as always, just a note.

    As you know this plugin is one of the most used for wordpress, with over 1 million of active installs.
    They say that: “Shortcodes stripped out in generation of title & description templates” from the 0.2.1 version, so from long time ago.
    Their meta descrition field uses the Excerpts variabile and moreover it is an editable field, for this reason there is no problem to change its content manually.

    What I don’t understand is why the plugin can remove all the shortcodes but not if we use your fantastic theme!
    It does not make sense to sell the best theme on the market and then not be 100% “compatible” with this plugin.

    Could you find a solution with your next upgrade?
    Thank you!

    Augusto

    #790400

    Rad
    Moderator

    Hi there,

    Sorry for the confusion. But they are the one that removes that support. Basically, the meta snippet will now display what’s on your editor content (not excerpt nor content generated by the_content). You can do that by typing manually at your editor and it will reflect on your snippet in real time.

    Cornerstone or any builder uses the_content() when rendering a content, all shortcode are processed. So there is no way for SEO Yoast to pick up raw shortcodes if they are really pulling the content from the processed the_content(). Unless, they drop that integration to the_content.

    Related tickets from them https://github.com/Yoast/wordpress-seo/issues/3632

    (2) Descriptions are now edited right in snippet editor (“Modify your meta description by editing it right here”).

    Thanks.