Short code in message header.

#71284
  • Resolved MOSHE1111
    Rank Math free

    I’m trying to create a short code in a message header with a plugin that allows it.
    When I activate your plugin it disables this option.
    How do I set up your plugin to update according to the short code?

    • This topic was modified 3 years, 9 months ago by MOSHE1111.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you share with us some screenshots showing us what you want to achieve and what is the issue you have? Then we will be able to help you to solve this issue.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello The short code I wrote in sensitive data, and I repeat it again, is actually a short code of this plugin:
    https://wordpress.org/plugins/translatepress-multilingual/
    short code [trp_language language=”en_US”]about[/trp_language][trp_language language=”he_IL”]אודות[/trp_language]

    I have a plugin that allows me to make a short code in the title of the page. This is the plugin:
    https://wordpress.org/plugins/jonradio-shortcodes-anywhere-or-everywhere/
    This short code works great in the title of the page. (The role of the code is to display one content in English and another content in Hebrew).
    Your plugin makes the short code appear as it is, not as I intended it to be displayed, according to the plugin instructions of the translation I mentioned in the previous post, not as it is displayed without your plugin.

    I hope I did not mix all the plugins.
    There are three plugins:
    1. A translation plugin that creates a short code for translating text.
    A plugin that helps to display the short code in the page title as planned.
    3. Your plugin returns the short code, its text being displayed as it is, in the page title, and not displayed as planned.

    Still need a screenshot?

    Alberto
    Rank Math business

    Hello,

    As far as I understand, you want to be able to execute the shortcode in the Rank Math meta, isn’t it?

    If that is the case, you will need to add the following filter at the end of your functions.php file:

    /**
     * Allow shortcodes in the Meta Data.
     */
    add_filter( 'rank_math/paper/auto_generated_description/apply_shortcode', '__return_true' );

    Looking forward to help you.

    Peace.
    I would love to add our code in the regular field of the title. Will it also help?
    Thank you

    I could not make it work by adding the original title, nor adding it to your plugin.

    Hello,

    The URL you shared leads to About page which doesn’t appear to have any shortcode in the title. The title translation from English to Hebrew seem s to be working fine still. Could you please use https://www.loom.com to record a screencast and add it into the sensitive section so we can understand your issue better.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Short code in message header.’ is closed to new replies.