Hi, Apologies for the delayed response. Let’s address your concerns one by one.
- Is there a way to enable your Table of Contents (TOC) only when there isn’t another TOC present, or to hide the RankMath TOC?
: Unfortunately, we don’t currently offer a feature or plan to incorporate this functionality. Implementing such a feature could potentially impact other aspects of the plugin’s functionality. However, if you wish to hide Rankmath TOCs, you can follow the instructions outlined in this article from the plugin’s support documentation: https://support.rankmath.com/ticket/turn-off-rankmath-toc-at-once/. Please follow the steps provided.
If the article doesn’t yield the desired results, you can modify the CSS code as follows:
.wp-block-rank-math-toc-block{
display: none;
}
Please note that using this CSS modification to hide the TOC may adversely affect your core web vital performance.
2. Is it possible to hide the first title (2) in the TOC?
: Yes, we have an option to exclude specific headings from the TOC. You can utilize the “exclude heading” feature. For further guidance, please refer to this screenshot: https://paste.pics/QPHJS
Feel free to reach out if you have any further concerns or questions.