Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Second(ary) activity feed possible?

@semih2400

Participant

Hi, I have similar problem. I want to use my own activity loop on different page. This page is template for my custom post type. I created it php that named as ‘single-{mytype}.php’. I can use my own activity loop inside of this page but there is some wird behaviours. For example comment, favourite or delete buttons not seem properly also I think ajax/js doesnt work properly.
I have used like this:

  <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=new_quote' ) ) : ?>
    <?php while ( bp_activities() ) : bp_the_activity(); ?>
 
	<?php bp_get_template_part( 'activity/entry' ); ?>
				
    <?php endwhile; ?>
<?php endif; ?>
Skip to toolbar