I saw your blog article about buddypress follow and I'm trying to come up with a way to organize posts by all the users that the user is following. Sort of like how you can organize the activity loop by who you're following.
I added the code that organizes the activity loop (which can be found here ) too a WP_query, but it didn't work. Any ideas as to why?
*note I have it so users of the site can submit content as posts*
<?php $args = array( 'posts_per_page' => 6, 'user_id' => bp_get_following_ids( )); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); echo '<div class="entry-content">'; the_content(); echo '</div>'; endwhile; ?>
Thank you for all the help!