Hello,
I see you want to add the Rank Math Table of Contents in a PHP file using a shortcode. A shortcode is a WordPress-specific code that allows you to perform certain functions or display content on your website by inserting a simple code snippet into your posts, pages, or theme files.
To add the Rank Math Table of Contents using a shortcode in a PHP file, you can use the following shortcode:
Replace [your_shortcode_goes_here]
with the actual Rank Math Table of Contents shortcode provided by Rank Math. You can find the specific shortcode for the Rank Math Table of Contents in the Rank Math plugin settings or documentation.
If you encounter any issues or need further assistance with this, feel free to ask!
Thank you for reaching out and raising this concern.
Sources:
Score 100/100 With Rank Math Post Tests » Rank Math
The #1 WordPress SEO Plugin in 2023 – Rank Math
Rank Math SEO Filters and Hooks for Developers – Rank Math
How to Add Rank Math’s Table of Contents Block » Rank Math
How to Use a Table of Contents to Improve Content Readability » Rank Math
where is short code ? it is blank
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We are sorry to inform you that, currently there is no feature available to display the Rank Math Table of Contents using a shortcode and it is only for Gutenberg or the block editor.
Our developers have plans to implement other ways to add the feature but that is not available right now.
When there’s an update on this matter we’ll update our changelog accordingly: https://rankmath.com/changelog
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.
If this feature available in next update then update me
Thanks
Hello,
Currently, we don’t have an ETA for that feature.
We will notify everyone via the usual communication channels once this is added to our update.
You can also keep an eye on our changelog here:
https://rankmath.com/changelog/
Looking forward to helping 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.