BuddyPress Shortcode is a modern, robust, and sophisticated BuddyPress add-on that enables you to add social networking components to any page of your community website. This plugin is an extension of the most popular social networking plugin BuddyPress which is equipped with member profiles, activity streams, user groups, and many more incredible features. However, it is short-handed when it comes to managing all this on your WordPress site.
To combat this, we have created BuddyPress Shortcode. It is a simple multisite compatible plugin that allows you to show activity streams, members, and group listings on any post or page on your BuddyPress-powered website using shortcodes.
Table of Contents
ToggleHow to Install the plugin
- Download the zip file from here or WP.org.
- Upload the “Shortcodes For BuddyPress” plugin and then Install and Activate the plugin.
- Alternatively, you can use the WordPress Plugin installer from Dashboard >> Plugins >> Add New to add this plugin.
Also Read:How to Create a Dating Website Using WordPress Plugins
Adding a shortcode to a page or post
- Create a new page.
- In the Gutenberg block list, choose the Shortcodes element.
- Click on the shortcode you want to add to the page.
- Click the Publish button.
Also Read: Introducing Pro Version of BuddyPress Shortcodes | BuddyPress Elementor Shortcode Widgets
Features of BuddyPress Shortcode
Following are the highlights of the plugin’s features:
- Activity Streams – Insert and customize the activity stream on any page or post of your BuddyPress-powered site using a simple shortcode.
- Group Listings – Instantly embed and personalize the desired group listings and make them appear anywhere on your BuddyPress website using a simple shortcode.
- Member Listings – Show member listings by embedding shortcodes on your BuddyPress site with an easy-to-use shortcode.
There are three types of BuddyPress Shortcode plugins with different parameters:
- Activity List
- Member List
- Group List
Activities | [activity-listing] | BuddyPress Activity Shortcode allows you to embed BuddyPress activities in posts/pages using shortcodes. |
Members | [members-listing] | BuddyPress Members Shortcode allows you to embed BuddyPress Members in posts/pages using shortcodes. |
Groups | [groups-listing] | BuddyPress Groups Shortcode allows you to embed BuddyPress Groups in posts/pages using shortcodes. |
1. Activity List
This plugin allows you to put an activity stream on any page or post using an activity shortcode. The BuddyPress Activity shortcode plugin has a lot of features built into the shortcode. They customize almost all aspects of the activity stream list, including what should be listed on your page, how many, and everything using the shortcode.
What have accepted parameters for activity shortcodes?
- List all activities.
- List activities for a user.
- List activities for a group.
- List activities of specific user roles.
Also Read: Best Responsive BuddyPress WordPress Themes For Intranet 2024
Activity Shortcodes
- [activity-listing]: Here is the way you can easily list all the activities on the activity page with the help of this shortcode.
- [activity-listing title=jon_Group object=Group per_page=1]: Here you can create an activity and define its title and object.
-
Also Read: Best BuddyPress Themes and Plugins 2024
- [activity-listing per_page=2]: This shortcode shows a list of Activities, and it accompanies a lot of parameters to customize which activity appears and how they are spread out.
- [activity-listing user_id=1]: You can use this shortcode to show the content of the user activity list. The shortcode can be used on any page or widget area.
- [activity-listing role=”administrator” scope=favorites]: With the help of this shortcode, display the list of favorite activities of a particular user role.
-
Also Read: Reign BuddyPress Tutor LMS Theme Review
2. Member List
Member list allows you to embed a list of BuddyPress users using a simple shortcode. BuddyPress Member list shortcode provides an easy-to-use shortcode for listing members based on member types. You will use this shortcode to show a list of members belonging to member types.
What are the accepted parameters for members listing shortcodes?
Members Shortcodes
- [members-listing]: Here is the way you can specify the members of the website and create their lists.
- [members-listing title=Member_List object=Groups per_page=2]: Here you can create a member list and define its title and object.
- [members-listing search_terms=’antawn’]: With the help of this shortcode you can easily find any particular member with the help of a search term.
- [members-listing per_page=3]: How many items do you want to show you can easily list with the help of this shortcode?
Also Read: WooCommerce Shortcodes
3. Group List
BuddyPress Group Shortcode helps to list and manage the groups on any of the created pages. It allows you to embed a list of groups using the simple shortcode. In this shortcode, forums and activities are created (or not) by users. We have provided different types of parameters to customize your group listing.
What are the accepted parameters for members listing shortcodes?
Group Shortcodes
- [groups-listing]: Here is the way you can specify the groups of the website and create their lists.
Conclusion
With Shortcode for BuddyPress, all the power is in your hands to customize your page and display activity streams, members, and group listings on any page or post. You can try more BuddyPress add-ons to add more features to your community. Here, we have demonstrated using our Reign Theme. But, if you have a limited budget and want the same features on your website you can use our free BuddyX theme.
Also, you can try its premium version shortcodes for Buddypress Pro which comes with Elementor widgets offering you the opportunity to display activities, member directories, or group directories as per your choice with simple drag-and-drop options.
Interesting Reads: