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

  • Author
  • #178830
     dlx
    Participant

    Hello!

    I´d like to place some extra icons in the mobile navigation so users don´t have to open the burger menu. So they get quick access to the main pages in the community (BuddyPress).

    I see there´s already one icon for the notifications. If the links could be placed at the left side of the notifications icon this would be great. Is this possible with Kleo?

    Best regards,
    Jan

    #178894
     Kieran_SQ
    Moderator

    Hi Jan,

    Thanks for contacting us about moving items out of the mobile menu and into the header, I am going to ask one of our developers to look into this for you, they’ll be in touch as soon as they can (Mon-Fri East Europe Time).

    Thanks,

    Kieran.

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #179072
     Radu
    Moderator

    Hi,

    Just use this function

    COPY CODE
    
    
    function add_ajax_search_mobile_icons()
    {
        $items .= '<a title="View Notifications" class="my-custom-item" href="http://rdu.local/kleo/members/admin/notifications"><span class="sq-notify-mobile"><i class="icon-bell"></i></span></a>';
        $items .= '<a title="View Dummy Menu 2" class="my-custom-item-2" href="http://rdu.local/kleo/members/admin/notifications"><span class="sq-notify-mobile"><i class="icon-mail-alt"></i></span></a>';
        echo $items;
    }
    
    add_action('kleo_mobile_header_icons', 'add_ajax_search_mobile_icons');
    
    

    If you want only one item delte entire item line

    COPY CODE
    
        $items .= '<a title="View Dummy Menu 2" class="my-custom-item-2" href="http://rdu.local/kleo/members/admin/notifications"><span class="sq-notify-mobile"><i class="icon-mail-alt"></i></span></a>';
    
    

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    NOTE : Child theme needs to be installed and activated.

    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 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?