Table of contents and thrive architect

#33657
  • Resolved Nana
    Rank Math free

    Dear support,

    rankmath say that i don’t use a table of content…

    Nagelpilz Essig

    Okay… i create a toc with thrive architect and spring points.

    But rankmath dont see this and complains again that I have no toc…

    Where is the problem?

    Great thanks for your help!!!!

Viewing 1 replies (of 1 total)
  • Hello @info3591,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Rank Math is unable to detect the ToC that comes with Thrive architect, you can however disable this test by adding the following code snippet on your theme’s functions.php file:

    /**
     * Rank Math snippet to disable 'titleHasNumber' & 'contentHasTOC' tests.
     *
     * @param array  $tests Array of tests with score
     * @param string $type  Object type. Can be post, user or term.
     */
    add_filter( 'rank_math/researches/tests', function( $tests, $type ) {
    	
    	unset($tests['content-readability']['contentHasTOC']);
    
    	$tests['basic']['keywordInMetaDescription']['score'] = 4;
    
        return $tests;
    }, 10, 2 );

    Looking forward to helping you. Thank you.

    • This reply was modified 4 years, 10 months ago by Michael Davis.
    • This reply was modified 4 years, 10 months ago by Michael Davis.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Table of contents and thrive architect’ is closed to new replies.