WordPress.org

Ready to get started?Download WordPress

Forums

Content Parts
[resolved] Not working inside the loop !! (2 posts)

  1. th90
    Member
    Posted 2 years ago #

    Hi.
    Your 'content parts' is a nice plugin.
    but it does not work inside the loop.
    Or i mistake.
    when i use this code inside the loop ( loop-search.php in this example ) :

    <?php
    if ( function_exists( 'the_content_part' ) ) {
    the_content_part( 2 );
    } else {
    the_content();
    }
    ?>

    and it outputs just the content of first result for all posts in the result !!
    is there any way to solve this problem?
    Thanks.

    http://wordpress.org/extend/plugins/content-parts/

  2. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    This should work in the most recent version?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.