Change "activity" slug
-
Hello,
buddypress codex says it should be fairly easy to change the default pages.
https://codex.buddypress.org/themes/bp-custom-php/:Defining custom slugs
Developers may modify the default URL slugs for activity, forums, etc by adding a statement in the bp-custom.php file.// change 'discuss' to whatever you want define( 'BP_FORUMS_SLUG', 'discuss' );
I tried putting these in my function.php, but that does not work.
define( 'BP_FORUMS_SLUG', 'discussions' ); define ( 'BP_ACTIVITY_SLUG', 'community' );
if I do what is suggested in this tutorial
Slugs
For example, if you are running a sports website with BuddyPress, you could rename the URL slug example.com/members to example.com/players by changing the url of the corresponding component page in the WordPress admin -> pages.I can change the page’s slug , but cannot edit the page anymore.
I am using wp composer / shortcodes to design the activity page and these do not work if the slug is renamed from wp admin >pages. I am not able to add text, nor images to the page.Can anybody help, please?
Thank you.
- The topic ‘Change "activity" slug’ is closed to new replies.