Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
If you wanted to force the use of the meta description in Rank Math > Titles & Meta > Post, you may need to use this filter:
https://rankmath.com/kb/filters-hooks-api-developer/#use-global-meta-description
The filter should be added to your active theme’s functions.php file. Here’s another way to apply the filter using the rankmath.php file:
https://rankmath.com/kb/filters-hooks-api-developer/#adding-filters-and-hooks-in-rank-math-php
I hope that helps.
Thank you.
I added the code to my theme’s functions.php file but it does not working, %excerpt% is shown, If I edit the post’s meta manually that post’s %excerpt% is not shown in meta. Otherwise all post shows the %excerpt% meta not the Single Post Description that I set from Rank math plugin Title & Meta option.
Hello,
Could you please share the affected URL and the excerpt so we can check? Also, please share the default description in Rank Math > Titles & Meta settings.
Meanwhile, please note that the filter may not be visible while editing the page as it only works when it loads in a browser. You can check the published/saved meta description via its source code.
You can also check the page’s meta description using this tool:
https://www.heymeta.com/
Looking forward to helping you.
Thank you.
https://www.mobiledor.com/nokia-lumia-925/
https://www.mobiledor.com/sony-xperia-sp/
Single Post Title
%title% price in Bangladesh %currentyear% & specs %sep% %sitename%
Single Post Description
Latest updated %title% price in Bangladesh %currentyear%. See ✓Full Specifications ✓Reviews ✓Showrooms ✓Official Price in BD.
When I inspect the code it show the description, but when I edit the post then under the Rankmath option, there showed the excerpt ৳32,000 only
Hello,
We might need to take a closer look at the settings. 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.
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.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
The excerpt of the post takes priority over the global description. Since you have applied the filter, the correct description will be added to the front end but the preview in the meta box will show the excerpt. It doesn’t affect the SEO of your site as the correct description is there in the front end and the search engines will see that.
Hope this clarifies your doubts. Please don’t hesitate to get in touch in case you need our assistance with anything else.
Thanks.