Skip to:
Content
Pages
Categories
Search
Top
Bottom

custom topic loop changed in pagination


  • carmelneta
    Participant

    @carmelneta

    hey all,
    ive created a custom topic loop that shows 3 recent replies on every topic, but for some reason it dosent effect the loop in paged after the first page.

    
        <li>
    <ul class="cn_bbp_rep_list">
        
          <?php 
             
            bbp_has_replies(array('post_parent'    => bbp_get_topic_id()));
            while ( bbp_replies() ) : bbp_the_reply();
                $current_topic_reply_id = bbp_get_reply_id();
          ?>
                <li class="cn_rep">
                    <?php bbp_reply_author_link( array( 'size' => '20' ) ); ?>
                    	<a>" class="bbp-reply-permalink"> <?php bbp_reply_title(); ?> </a>
                        <?php bbp_reply_post_date(); ?>
                </li>
            
      <?php endwhile; ?>
    

    Any help?

  • You must be logged in to reply to this topic.
Skip to toolbar