Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Looking at the issue on the website it seems that the JavaScript required to make the TOC block expand is not being triggered.
Please note that to trigger the opening and closing of the TOC you need to add the following JavaScript as well: https://pastebin.com/jLTDeAWw
Don’t hesitate to get in touch if you have any other questions.
I’m not well-versed in coding. Could you please specify where I should add it? Should I insert the code from the link at the bottom of the functions.php file?
Hello,
Yes, you should insert the code into the functions.php file of your site.
Here’s how you can add it.
In your WordPress Admin area, navigate to Appearance>Theme File Editor>Select the Theme Functions (functions. php) file from the sidebar on the right.
Add in the code at the bottom of the page (before the PHP closing tag ?> if this is present)
Click Save Changes.
We hope that helps you. Let us know if you have further questions.
thank you We would like to thank the ranking math developers for their quick response.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.