• I wanted to place a menu item named ?Kontakt? in the footer menu. No problem so far, but the label ?Kontakt? is replaced by a letter icon, which I don’t want at this place.
    How can I keep this from happening, without hiding the label too?
    Many thanks in advance,
    Frank

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you want any of the social icons in the footer menu? If not then you can un-hook the function that injects the social menu icons to achieve this.

    Let me know and I’ll provide the code.

    Otherwise you’d need to remove the email icon only which is also doable but would require different code.

    Oliver

    Thread Starter Frank Spade

    (@spade)

    Hi Oliver,
    thanks for your reply.
    I like to keep the option of showing social media icons, therefore I would appreciate the option of just removing the icon from this mail address.
    Looking forward to your kind support,
    Frank

    This should do what you want ??

    Oliver

    add_filter('twenty_twenty_one_social_icons_map', 'remove_mail_from_social_icons_map');
    
    function remove_mail_from_social_icons_map($icon_map) {
    
        unset($icon_map['mail']);
    
        return $icon_map;
    
    }
    Thread Starter Frank Spade

    (@spade)

    Dear Oliver,
    thank you so much!
    I am very grateful about people like you.
    Hope to be able to give something back some day,
    Frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prevent replacement of E-Mail by letter icon’ is closed to new replies.