This topic has 3 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #160592
     wilfriedMarseille
    Participant

    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.com

    #160724
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #160728
     wilfriedMarseille
    Participant

    Is okay I finf the code for this problem.
    I share you it soon thanks.

    If you love Ableton check my blog :
    www.zikrea.com

    #160799
     Radu
    Moderator

    Ok then

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?