• Resolved kredist

    (@kredist)


    I use your easy table of contents on the site.
    In my template, instead of <? php the_content (); ?>
    code inserted

    <?php
    global $post;
    $content_parts = get_extended( $post->post_content );
    echo apply_filters(‘the_content’, $content_parts[‘main’]);
    echo “”;
    echo apply_filters(‘the_content’, $content_parts[‘extended’]);
    ?>

    This code splits the article in two using the tag “more”

    But the problem is that the easy table of contents Plugin perceives the parts of $ content_parts [‘main’] and $ content_parts [‘extended’] separately, and not as a single the_content ().

    The plugin automatically generate a table of contents fo first, $content_parts [‘main’], and then starts again paragraph reports starting with $content_parts [‘extended’]
    As a result, I have or two table or one table without same headers.

    help solve the problem.
    is it possible to make changes to the plugin so that everything works well?

Viewing 1 replies (of 1 total)
  • Steven

    (@shazahm1hotmailcom)

    Sorry, but this is not something that can be fixed in ezTOC. The theme support team would have to correct this.

Viewing 1 replies (of 1 total)
  • The topic ‘$content_parts и easy table of contents’ is closed to new replies.