WordPress.org

Ready to get started?Download WordPress

Forums

Menu Social Icons
[resolved] Icons in the Drop Down (4 posts)

  1. Robert Dall
    Member
    Posted 5 months ago #

    Hi Paul

    I wanted to get a drop down menu with the social media icons and I have the text showing but not the icon.

    Here is my admin menu http://cl.ly/image/362s233x3O1X

    But the dev site front end doesn't show the icons. http://northernphoto.ca/

    Is there a filter I am missing?

    https://wordpress.org/plugins/menu-social-icons/

  2. Paul Clark
    Member
    Plugin Author

    Posted 5 months ago #

    MSI ignores child menu items by default. There's not a filter to change that right now, but you can comment out this line that says "continue".

  3. Paul Clark
    Member
    Plugin Author

    Posted 5 months ago #

    That is, change this:

    if ( 0 != $item->menu_item_parent ) {
      // Skip submenu items
      continue;
    }

    to this:

    if ( 0 != $item->menu_item_parent ) {
      // Skip submenu items
      // continue;
    }

    In function wp_nav_menu_objects. The link is highlighting strangely for me -- it's line 256.

  4. Robert Dall
    Member
    Posted 5 months ago #

    Works like a charm Paul. I have some slight css alignment to fix. But this is exactly what I wanted.

    Thanks again!

Reply

You must log in to post.

About this Plugin

About this Topic