Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #208138

    hi there,

    i would like to add entypo icons to menu entries in the main menu and in the footer. If I just add the code like “

    #208336

    Hey elbnetz!

    Can you please elaborate? I think your post is incomplete. A screenshot of what you’re trying to accomplish will help.

    Best regards,
    Ismael

    #208365
    This reply has been marked as private.
    #208394

    Hey!

    Did you try to use the icon shortcode instead of the html code? You can use the default editor and the “Magic wand” tool to generate the shortcode. Then copy/paste it into the menu title field or any other text field.

    Cheers!
    Peter

    #208395

    Yes, it works in the Main menu (how get I rid gof the animation?)

    But not with an individual menu widget in the footer. here the shortcode is shown, not the icon. Or did I do something wrong? Can yo copy me a code?

    Thanks

    #208405

    Hey!

    No, probably the menu widget doesn’t support shortcodes. You can try to use following code to execute the shortcodes – insert it at the bottom of functions.php

    
    	add_filter( 'wp_nav_menu_items', 'avia_do_shortcode_nav_widget', 10, 2 );
    	function avia_do_shortcode_nav_widget($items, $args)
    	{	
    	    $items = do_shortcode($items);
    	    return $items;
    	}
    

    Regards,
    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘entypo in menus’ is closed to new replies.