-
Good morning,
Hi there,I want to add shortcode to add month and year automatically in post title. By using this solution ( https://support.rankmath.com/ticket/auto-add-dynamic-year-in-wordpress-post-titles/ ). It works.
You can see that by this screenshot. https://prntscr.com/vqczsm and https://prntscr.com/vqd10v
But, the shortcode ( %currentmonth% and %currentyear% ) does not change in meta title. https://prntscr.com/vqd235
Can you help me to achieve this ?
Thanks for your time
-
Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
It seems to be working fine on our end: https://i.rankmath.com/Rt9TcN
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/Only the site admin would know and your users won’t be affected by this troubleshooting.
If the issue persists, please record a video screencast using a tool like Loom showing the troubleshooting and edit the first post on this ticket and include your WordPress & FTP logins in the designated 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.
Hi there,
Thank you for your responseBut, my case is different
In your video, you add currentyear and currentmonth shortcode in meta title. I can do that tooBut, i want to add currentmonth and currentyear shortcode in post title not in meta title.
And then, the shortcode will change too in meta title
I want my post title is same with meta title because i don’t want confuse my visitor.
Thank you for your time
I want solution like this one (https://support.rankmath.com/ticket/auto-add-dynamic-year-in-wordpress-post-metatitles/ )
Thank you
Solved with Dynamic Month & Year into Post WordPress Plugin
Hello,
Glad that this is resolved.
Keep in mind that Rank math variables usually work within Rank math tiles and meta definitions.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.
The ticket ‘Time shortcode change in post title but not in meta title’ is closed to new replies.