Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1267207

    Hi Enfold team,

    I was previously running an older version of Enfold, but have recently updated.
    In our mega menu, I previously added menu items with one of the default entypo icons.

    However, since the update, the theme seems to no longer accept the shortcodes for icons, and is instead showing the code rather than the text. I’ve sent a screenshot to illustrate this.

    What can be done to bring back the inclusion of icons? I feel they helped add a splash of color to our menus.

    Thanks

    #1267259

    can you try this in your child-theme functions.php:

    add_filter('wp_nav_menu_items', 'do_shortcode');

    on my installation its working without that snippet – but maybe it helps.

    #1267739

    Hi guenni007, thanks for your reply.

    Unfortunately when pasting the code, I get the following error; syntax error, unexpected ‘&’

    #1267944

    did you copy&paste the line above?
    I don’t see any “&” so it can hardly be from my snippet up there.

    Where did you paste the code?

    And can you please post an example code you inserted to your menu?

    #1268028

    Hi,


    @Dzammit
    : You might have to copy the snippet or code directly from the forum, instead of from your email.

    Best regards,
    Ismael

    #1268050

    Hi Ismael & Guenni007,

    It seems to have fixed it! I must have copied and pasted from my email rather than from the thread directly. It now works like a charm!

    Thanks all!

    #1268309

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Unable to add icons to Mega Menu items’ is closed to new replies.