This topic has 2 replies, 2 voices, and was last updated 11 years by nicholaus1221.

  • Author
  • #944
     nicholaus1221
    Participant

    Hi,

    I was trying to disable the quick profile navigation and couldn’t figure it out. Any help on how to disable it would be great.

    Thanks,
    Nicholaus

    #949
     SQadmin
    Keymaster

    Hi,
    This is a quick one 🙂
    You need to have the sweetdate-child theme activated.
    Open sweetdate-child/functions.php and add this remove action to the remove_actions function:
    remove_action(‘kleo_after_breadcrumb’, ‘bp_add_profile_navigation’);

    So it looks like this:

    COPY CODE
    
    add_action('after_setup_theme','kleo_remove_actions');
    /**
     * Override existing actions
     * Use these functions to replace/remove existing actions
     * @since Sweetdate 1.3
    */ 
    function kleo_remove_actions() 
    {
        remove_action('kleo_after_breadcrumb', 'bp_add_profile_navigation');
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #966
     nicholaus1221
    Participant

    Hi,
    Thank you! It worked perfectly, I appreciate your help and quick reply.

    Nicholaus

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?