Blog List Shortcode - Display Member Posts
Display blog posts from a specific member anywhere on your site. Perfect for member profile sidebars, author pages, or “My Posts” sections.
Basic Usage
[bp-member-blog-list]
This displays posts from the currently logged-in user.
All Attributes
AttributeDefaultDescriptionuser_idCurrent userUser ID to show posts fromcount5Number of posts to displaycolumns1Grid columns (1-3)show_excerptyesDisplay post excerptsshow_imageyesDisplay featured imagesshow_dateyesDisplay publish dateshow_authornoDisplay author infoorderbydateSort by: date, title, modifiedorderDESCSort order: ASC or DESCcategory(empty)Filter by category slugclass(empty)Custom CSS class
Examples
Show Posts from a Specific User
[bp-member-blog-list user_id=“5”]
Shows posts from user with ID 5.
Display in a Grid
[bp-member-blog-list user_id=“5” count=“10” columns=“2”]
Shows 10 posts in a 2-column grid.
Filter by Category
[bp-member-blog-list category=“tutorials” count=“8”]
Shows only posts from the “tutorials” category.
Minimal Display
[bp-member-blog-list show_image=“no” show_excerpt=“no” count=“5”]
Shows just titles and dates in a compact list.
Alphabetical Order
[bp-member-blog-list orderby=“title” order=“ASC”]
Shows posts alphabetically by title.
Common Use Cases
Member Profile Widget
Add to a sidebar widget on member profiles:
[bp-member-blog-list count=“3” show_excerpt=“no”]
Author Archive Page
Create a full author archive:
[bp-member-blog-list count=“20” columns=“3” show_author=“yes”]
In Theme Templates
Use in PHP templates:
<?php echo do_shortcode(‘[bp-member-blog-list user_id=“’ . bp_displayed_user_id() . ‘” count=“5”]’); ?>
Styling Tips
Target these CSS classes:
/* Container */ .bp-member-blog-list { }
/* Individual post */ .bp-member-blog-item { }
/* Post title */ .bp-member-blog-title { }
/* Post excerpt */ .bp-member-blog-excerpt { }
Related Docs
Recent Posts Shortcode Popular Posts Shortcode Shortcodes Overview

