> Can i call a complete bubbypress page on to a new page ?
Short answer is no.
You can however, change the slug of a BuddyPress page via the WP admin’s “Pages” menu. If you can change the location of the slug, this should satisfy most use-cases.
> with php maybe? or create a shortcode?
Yes, anything is possible with code! It depends what you want to show though.
There are some plugins out there that show BP content via shortcodes. One of them is this one:
Bowe Codes
Thanks sooo much for the quick reply x
could you please help me by explaining to me exactly which slug i need 2 change to what?
Sorry to be bothersome i have tried everything and time is not on my side 🙁 and i realty want to be able to do this <3
@djpaul maybe u can help?
anyone? id love u forever if you van help me with the slug technique x
When you set up BuddyPress, you have the option to map BuddyPress components to WordPress pages:
Configure BuddyPress
So basically, if you mapped the Members Directory page to example.com/members
, you can go to your WordPress Pages menu in the admin dashboard, find your Members Directory page and rename the slug from members
to whatever you wanted like people
.
If you wanted to add a heading to your Members Directory template, there are two methods:
1. Override the Members Directory template part:
The template part is the actual template file used to render the Members Directory output.
Copy /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php
To:
wp-content/themes/YOUR-THEME/buddypress/members/index.php
And make whatever changes you need to make.
2. Override the Members Directory template hierarchy:
https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
Template hierarchy basically means a page template used for the surrounding template part.
If you don’t want to read the guide above, basically, copy your theme’s page.php
and move it to /buddypress/members/index-directory.php
in your theme’s directory. Then, add your heading before the page loop.