Dropdown Menus
[resolved] Echo argument not working (3 posts)

  1. squingynaut
    Posted 3 years ago #

    The plugin page claims to take in the same arguments as wp_nav_menu() but the 'echo' argument doesn't seem to be functional at present.

    I was able to get this to work very easily by opening the plugin code and making one tiny change. In dropdown-menus.php, in the dropdown_menu function, I added "return " in front of the line reading "wp_nav_menu( $args );"

    This now works with and without the echo argument set on my install. I hope this helps and thanks for a great plugin!



  2. sanchothefat
    Plugin Author

    Posted 3 years ago #

    Thanks Brad! I'll get this fix in.

  3. sanchothefat
    Plugin Author

    Posted 3 years ago #

    Marking this as resolved. Use the latest and greatest version

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Dropdown Menus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic