Hello
I try to make a Slug Page for BuddyPress but i got a Bad Redirection.
I make a new item menu name Item One with this code `function my_setup_nav() {
global $bp;
bp_core_new_nav_item( array(
‘name’ => __( ‘Item One’, ‘buddypress’ ),
‘slug’ => ‘my-item-one’,
‘position’ => 30,
‘screen_function’ => ‘my_item_one_page’,
) );
}
add_action( ‘bp_setup_nav’, ‘my_setup_nav’ );
function my_item_one_page() {
bp_core_load_template( ‘item-one-template’ );
}
`
After I make a slug page name :Â item-one-template.php than i put in my Child Theme.
I copy paste the template Buddypress.php inside.
I i don’t put this file i got a 404 error and if i put this file in my child theme i got a bad rediction
in the members search page.
So i can’t edit my template for this slug.
Do you know why ?
thanks 🙂