Current Year

#712154
  • Resolved Anonymous
    Rank Math free

    I hope this message finds you well. My name is Alex, and I’m currently experiencing an issue with the title display in the Rank Math SEO plugin.

    Problem Description:
    I have noticed that when I add a title using the %currentyear% variable, it only displays as “2.” I’ve gone through the settings, checked the title length, and even customized it for specific pages, but the problem persists.

    Steps Taken:

    Verified the title length is within recommended limits.
    Checked and customized the title template in Rank Math settings.
    Ensured that individual page titles are set correctly.
    Cleared the cache to rule out any caching issues.
    Additional Information:

    WordPress Version: 6.4.2
    Rank Math Version: 1.0.209
    Other SEO Plugins: –
    Theme: NewsPaper 12.6.3
    I’ve thoroughly checked the settings and made the necessary adjustments based on common troubleshooting steps. However, the issue remains unresolved.

    I would appreciate your assistance in resolving this matter. If there are any specific details or additional information you need from my end, please let me know.

    Thank you for your prompt attention to this matter.

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I’m sorry to hear that you’re experiencing issues with the title display in the Rank Math SEO plugin. It seems that you are trying to use the %currentyear% variable, but it’s only displaying as “2.” This issue could be related to the way the variable is being used or parsed.

    To resolve this, you can follow the steps outlined in our knowledge base article on how to set the current year in the post title using the [year] shortcode. You can find the article here: Set the Current Year in Post Title Using the [year] Shortcode.

    Additionally, you may want to ensure that the code snippet for the [year] shortcode has been added correctly to your theme files. If you need further assistance or have any other questions, please feel free to reach out to our dedicated support team by opening a support ticket at https://rankmath.com/wp-content/uploads/2021/08/Current-year-variable-example-1.jpg

    Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this matter for you.

    Best regards,

    Sources:
    Set the Current Year in Post Title Using the [year] Shortcode » Rank Math
    Using Variables in the SEO Title and Description » Rank Math
    The #1 WordPress SEO Plugin in 2023 – Rank Math

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    Set the Current Year in Post Title Using the [year] Shortcode. i did but same problem

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    We can’t seem to replicate this issue on our end.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well:
    https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Anonymous
    Rank Math free

    The issue is not only related to the “currentyear,” but also affects other numbers in the title. I reverted Rank Math to its older version, and the problem was resolved.I hope you release the new version soon. I’m eager to purchase it.

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

You must be logged in to reply to this ticket.