Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: how display content in submenu?

@luisa227

Participant

sorry 🙁 i don’t know!!!
I seem to do correctly, but does not work.
I also for testing entered my files everywhere, but does not find it anywhere !!!

In my web-site the URL is http://mysite.it/membri/testmember1/activity/swap/ but it says “We are sorry, but the page you are looking for does not exist.”

I have my swap.php (into there’s only a echo command)’s file in wp-content/themes/child-theme/buddypress/members/single/
and in bp-custom.php (that is in my plugin folder) I write



function my_groups_page_function_to_show_screen_content() {
	bp_get_template_part('members/single/swap');
}
function luisa_register_template_location() {
   return 'wp-content/themes/betheme-child/buddypress/members/single';
}

I try also to put the swap.php file into wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single but nothing is happen.

where am I wrong? thanks

Skip to toolbar