How to override the activity template – Shortcode for BuddyPress Pro

Get Started

To override the templates of activity listing page, you can follow the steps provided:

1.Create a folder named  “activity” within your child theme: This means you should have a WordPress child theme set up. If you’re not familiar with child themes, they are a way to make modifications to a theme without altering the original theme files. In this case, you should create a subfolder within your child theme directory called “bp-business-profile”

For example, if your child theme is named “my-child-theme,” the folder structure should look like this:

wp-content/themes/my-child-theme/activity/

2. Create a new file named “bp-shortcodes-activity.php” Inside the “activity” folder you created, This file is where you’ll place the custom code or template modifications for the Activity Listing page.

For example, your file structure should be:

wp-content/themes/my-child-theme/activity/bp-shortcodes-activity.php
Update on April 15, 2025