Shortcode in Product Short Description

#74711
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math today.

    The code is meant to work in the front end. Could you please share a screenshot of your settings and the affected URL. You can upload the screenshots to https://imgur.com and share the URLs with s in the sensitive section.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Alberto
    Rank Math business

    Hello,

    Your code seems to have a typo. You need it to be “apply”, like this:
    add_filter( 'rank_math/paper/auto_generated_description/apply_shortcode', '__return_true' );

    Looking forward to help you.

    Then you need to edit the knowledge base too.

    Tried. Still cannot work.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    My website in the localhost development stages…

    Hello,

    The filter provided by my colleague is the code to allow shortcode in meta. This will allow the shortcode in short description to display the content in the meta description in the front end.

    The filter you are using is different as it is to allow shotrcodes in product schema description. Please note the difference and make the necessary changes

    If that still doesn’t work, it might seem to be an issue with your shortcode. You can test it without Rank math and use php to echo 'short description: '.$product->post-excerpt; and see if it displays correctly.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Ok… I go to find another way.

    Thanks

    • This reply was modified 3 years, 8 months ago by Watch Teller.
    Alberto
    Rank Math business

    Hello,

    It is fine, if later you still want our help or if you upload the site and you want us to check it, we are here! Also, if you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this ticket.