Ajax load more posts on BuddyPress member profile
- 
		I am using Michael Martin’s approach to load the next page of posts in WordPress via AJAX: This approach works very well on my tag and category pages. My aim now is to display a list of posts on each BuddyPress member’s profile page and have the next page load via AJAX. The first part (displaying the list of posts) I can do like so: $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $args = array( 'author' => bp_displayed_user_id(), 'post_type' => 'post', 'paged' => $paged ); $query = new WP_Query( $args );The part I am struggling with is getting the next page of results to load via AJAX – as outlined in Michael Martin’s approach. Michael’s approach works fine on tag and category archives so why not on the BuddyPress member profile page? 
Viewing 5 replies - 1 through 5 (of 5 total)
	
Viewing 5 replies - 1 through 5 (of 5 total)
	
- The topic ‘Ajax load more posts on BuddyPress member profile’ is closed to new replies.