This topic has 5 replies, 3 voices, and was last updated 10 years by Abe.

  • Author
  • #12923
     misterwho
    Participant

    I want to customize the profile menu from here:
    Profile
    – Activity
    – Messages
    – Friend Request
    – Group
    – Settings

    to here

    Profile
    – Activity
    – Messages
    – Custom Content Type 1 (Custom Press)
    – Custom Content Type 2 (Custom Press & Access Privilege by using Paid Membership Pro)
    – My Photos (rTmedia)
    – My Videos (rTmedia)
    – My Music (rTmedia)
    – Friend Request
    – Group
    – Ads Manager (Classified WPMU)
    – My Discussion
    – Settings

    Is there any way to drop and drop it like in the menu manager?

    #13014
     misterwho
    Participant

    Please reply!

    #13055
     Abe
    Keymaster

    Hi, Right now that is not possible but we will add that functionality in future releases. For now you can do it with a small code added to you sweetdate-child/functions.php file. see the example below:

    COPY CODE
    
    add_filter('header_profile_dropdown','add_to_profile_submenu');
    function add_to_profile_submenu($menu) {
    $menu[] = '<li><a href="' . bp_loggedin_user_domain().'media/photo">'. __("Photo", "buddypress").'</a></li>';
    $menu[] = '<li><a href="' . bp_loggedin_user_domain().'media/video">'. __("Video", "buddypress").'</a></li>';
    
    	return $menu;
    }
    

    Make sure you have the child theme active

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #14397
     Abe
    Keymaster

    Or edit header.php and directly change the links around line 150

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #34374
     soniadm
    Participant

    Hello Abe,
    Actually, could you please tell me what line of code i need to add a link to http://mydomain.fr/members/mydomain/events/
    Many thanks,
    Sonia

    #34913
     Abe
    Keymaster

    @soniadm I don’t understand what you need. all the members related templates are inside the theme under members folder

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

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

Log in with your credentials

Forgot your details?