-
Author
-
May 6, 2017 at 16:38 #160592wilfriedMarseilleParticipant
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 🙂
If you love Ableton check my blog :
www.zikrea.comMay 8, 2017 at 21:46 #160724LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 8, 2017 at 22:11 #160728wilfriedMarseilleParticipantIs okay I finf the code for this problem.
I share you it soon thanks.If you love Ableton check my blog :
www.zikrea.comMay 9, 2017 at 19:09 #160799RaduModeratorOk then
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.