Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Place all custom posts by a member in new tab

@shanebp

Moderator

What have you tried so far?

Anything like this?


$member_id = $bp->displayed_user->id;

$args = array(
'author' => $member_id,
'post_type' => 'adventure'
);
$the_query = new WP_Query( $args );

if ( $the_query->have_posts() ) :  etc
Skip to toolbar