Skip to:
Content
Pages
Categories
Search
Top
Bottom

Creating a loop for a Users Posts in BuddyPress Sub Menu

  • @jaseyb

    Member

    I am using BP 1.5.1. – using a child theme based on the standard theme.
    I have successfully created a submenu called ‘blog’ – this is displayed next to Activity/Profile/Friends etc etc
    I want to create a simple loop to display all posts for that particular user. I’ve tried various things but cannot seem to populate the posts for the ‘loop’
    e.g.

    while ( have_posts() ) : the_post();
    echo '<li>';
    the_title();
    echo '</li>';
    endwhile;

    Can someone help? I can add complexity if I can get access to the basics :-)

Viewing 1 replies (of 1 total)
  • @djpaul

    Keymaster

    “All posts for that particular user”; do you mean all posts on the blog on the site that BuddyPress is running on, or, are you running multisite and you want to pull each person’s posts from their site into the main site?

Viewing 1 replies (of 1 total)
  • The topic ‘Creating a loop for a Users Posts in BuddyPress Sub Menu’ is closed to new replies.
Skip to toolbar