Skip to content

Categories and Authors Shortcodes

Display blog categories and top contributors anywhere on your site. Great for navigation, community recognition, and helping readers discover content.

Categories Shortcode

[bp-member-blog-categories]

Displays blog categories in various formats.

Attributes

AttributeDefaultDescriptionstylecloudDisplay: cloud, list, or gridcount20Number of categoriesshow_countyesShow post countsorderbycountSort by: name, count, idorderDESCSort order: ASC or DESChide_emptyyesHide empty categoriesexclude(empty)Category IDs to excludeparent(empty)Show only children of parentclass(empty)Custom CSS class

Display Styles

Tag Cloud Style:

[bp-member-blog-categories style=“cloud”]

Categories displayed with varying font sizes based on post count.

Vertical List:

[bp-member-blog-categories style=“list” show_count=“yes” orderby=“name”]

Clean vertical list, alphabetically sorted.

Grid Layout:

[bp-member-blog-categories style=“grid” count=“12”]

Categories in a responsive grid layout.

Examples

Sidebar Category List:

[bp-member-blog-categories style=“list” count=“10” show_count=“yes”]

Footer Category Links:

[bp-member-blog-categories style=“cloud” count=“15” orderby=“name”]

Category Navigation Page:

[bp-member-blog-categories style=“grid” count=“20” hide_empty=“yes”]

Authors Shortcode

[bp-member-blog-authors]

Showcases your most active member contributors.

Attributes

AttributeDefaultDescriptioncount10Number of authorscolumns4Grid columns (1-4)show_avataryesDisplay avatarsshow_countyesDisplay post countshow_bionoDisplay bio excerptavatar_size80Avatar size in pixelsorderbypost_countSort: post_count, name, recentorderDESCSort order: ASC or DESCrole(empty)Filter by user roleclass(empty)Custom CSS class

Examples

Top Contributors Grid:

[bp-member-blog-authors count=“8” columns=“4”]

Authors with Bios:

[bp-member-blog-authors show_bio=“yes” columns=“2” count=“6”]

Recently Active Authors:

[bp-member-blog-authors orderby=“recent” count=“5”]

Alphabetical List:

[bp-member-blog-authors orderby=“name” order=“ASC” columns=“1”]

Common Use Cases

Meet Our Contributors Page

<h1>Meet Our Contributors</h1> <p>These amazing community members share their knowledge with us.</p> [bp-member-blog-authors count=“20” columns=“4” show_bio=“yes”]

Homepage Author Spotlight

<h2>Top Contributors</h2> [bp-member-blog-authors count=“4” columns=“4” show_count=“yes”]

Sidebar Category Widget

<h3>Browse Categories</h3> [bp-member-blog-categories style=“list” count=“8”]

Combining Shortcodes

Create a complete blog archive page:

<h2>Browse by Category</h2> [bp-member-blog-categories style=“grid” count=“12”]

<h2>Our Top Contributors</h2> [bp-member-blog-authors count=“8” columns=“4”]

<h2>Latest Posts</h2> [bp-member-blog-recent count=“9” columns=“3”]

Styling

/* Categories */ .bp-member-blog-categories { } .bp-member-blog-category-item { }

/* Authors */ .bp-member-blog-authors { } .bp-member-blog-author-card { } .bp-member-blog-author-avatar { } .bp-member-blog-author-name { } .bp-member-blog-author-count { }

Related Docs

Recent Posts Shortcode Popular Posts Shortcode Shortcodes Overview