Custom BuddyPress page with template
-
I’m creating a custom WordPress/BuddyPress theme and I’m hoping to create a custom page at /members/USER/messages/custom which can be customized with the template file called custom.php located in the THEME/buddypress/members/single/messages directory.
Can someone please explain the correct approach for doing this?
I’m going to need to do add other pages to other BuddyPress components, so I would appreciate a solution that doesn’t just work exclusively for my above example.
I’ve read about bp_core_new_nav_item() and bp_core_load_template(), but the instructions that go with them seem out of date. I’m also not looking to add a nav item, so I’m a little reluctant to use bp_core_new_nav_item() because of its name.
Thank you.
- The topic ‘Custom BuddyPress page with template’ is closed to new replies.