Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @mike62

    Member

    Oops, sorry about that. I’m not seeing instructions anywhere on how to post code, and it won’t let me edit or delete that last post. :S

    @mike62

    Member

    Thanks guys! Here’s my complete code that seems to be working great. I’ve added this to mythemefolder/members/single/member-header.php

    <?php global $bp;
    query_posts( ‘author=’ . $bp->displayed_user->id );
    if (have_posts()) : ?>

    Posts:

    • <a href="”>


    <?php endif;
    wp_reset_query();?>

    @mike62

    Member

    @mike62

    Member

    I’d like to be able to edit the Profile page, so that it shows a list of blog posts created by the currently-displayed user. I’m also using RecipePress, and want to be able to show a list of recipes that have been posted by that user as well (recipes are stored as a custom post type). Is it possible to run a query_posts call that specifies the currently-viewed user as one of the parameters, or something like that?

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar