Adding social to top bar

This topic contains 32 replies, has 5 voices, and was last updated by  Giri 7 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #378580

    Marcus Conway
    Expired Member
    Post count: 126

    Deleted and retried with snippets but that does not seem to play nicely?? I do have other snippets working…

    #378581

    Giri
    Expired Member
    Post count: 3155

    maybe try hooking that into init action in code snippet like this.

    
    
    add_action('init', 'add_sd_header_top');
    function add_sd_header_top() {
        remove_action( 'customize_register', 'sd_dt_remove_header_top_from_customizer', 20);
        remove_filter('theme_mod_dt_enable_header_top', 'sd_dt_enable_header_top_return_zero');
    }
    #378601

    Marcus Conway
    Expired Member
    Post count: 126

    Hello – yes this has worked and header top feature is now editable. Thanks

    Now to work on how to make it look nice 🙂

    #378611

    Marcus Conway
    Expired Member
    Post count: 126

    Hi I understand how to create a menu, but I don’t understand how to edit the menu that is displayed? Where is it coming from?

    At the moment it seems to display everything. I can’t seem to manage menu locations or edit the menu displayed in the header?

    I go WordPress> Appearance >Menus

    Or

    Customize > menu locations

    #378730

    Giri
    Expired Member
    Post count: 3155

    Hi Marcus,

    It doesn’t matter. Both points to the same menus.

    But you can add menu items only in WordPress> Appearance >Menus

    #378731

    Marcus Conway
    Expired Member
    Post count: 126

    Thanks I know how to add a menu. What I am saying is I cannot set the menu location.

    I have to locations available – so I can easily create a new menu but how do I set the location to the top header?

    #378736

    Giri
    Expired Member
    Post count: 3155

    You have to check “enable location top” checkbox in Header Top customer section for the new menu

    #378739

    Marcus Conway
    Expired Member
    Post count: 126

    Yes I have enabled it – thats why the menu is showing in the top bar. But I am not able to edit the contents of the menu in any of the menu locations as it is not appearing as a menu location.

    #378740

    Marcus Conway
    Expired Member
    Post count: 126
    This reply has been marked as private.
    #378741

    Giri
    Expired Member
    Post count: 3155

    website url?

    #378742

    Marcus Conway
    Expired Member
    Post count: 126

    🙂 yes you need that!

    http://www.naturephototour.com/

    #378748

    Giri
    Expired Member
    Post count: 3155

    Hi Marcus,

    For some reason, the snippet I provided not removing existing code properly.

    I have deactivated that snippet and manually commented out these two lines

    https://github.com/mistergiri/supreme-directory/blob/master/functions.php#L549

    https://github.com/mistergiri/supreme-directory/blob/master/functions.php#L554

    If you update supreme theme make sure to modify those lines.

    Thanks

    #378759

    Marcus Conway
    Expired Member
    Post count: 126

    Thanks for all your help

    #378768

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    #378769

    Marcus Conway
    Expired Member
    Post count: 126

    For some reason there is a display issue for this in chrome (incognito) that does not occur in Firefox.

    How can I resolve this?

Viewing 15 posts - 16 through 30 (of 33 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount