WordPress.org

Support

Support » Plugins and Hacks » Menu won't open

Menu won't open

  • I am having trouble getting the mobile menu to work. I disabled all plugins and tried the default twentyeleven theme, but nothing seems to work.

    If I inspect the code and manually add “right: 200px;” to the .mob_menu_right_panel, then it slides out. So I believe there’s something wrong with the javascript trigger when clicking the icon.

    Thanks in advance for your help.

    https://wordpress.org/plugins/mobile-menu/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Takanakui

    @takanakui

    Please download again the plugin, I changed a few files that were causing that issue.

    Takanakui

    Thanks for your help! I don’t see any update in my plugins page, are the changes pushed?

    Plugin Author Takanakui

    @takanakui

    Yes they are.

    Hmmm… I’m seeing version 1 in the Plugins section, and no upgrade:

    Mobile Menu
    Deactivate

    Transform your website with a user friendly, dedicated and responsive mobile menu.

    Version 1.0 | By Takanakui | Visit plugin site

    I went and downloaded the new fileset from wordpress.org and manually uploaded the files to my site to upgrade. The menu still doesn’t open as expected. I’m using WP 3.8.1 and Twenty Eleven theme. Any ideas?

    Plugin Author Takanakui

    @takanakui

    Try to clear the cache and let me know how it goes.

    My cache is completely cleared and I’m using the default theme, latest WordPress, and latest plugin version. Is it working on your end?

    Hi there the problem seems to be the connection to the javascript file if you look in the error console you can see the file is missing.

    Console reads 404

    wp-content/plugins/mobmenu/js/mobmenu.js?ver=3.8.1

    Whereas

    /wp-content/plugins/mobile-menu/js/mobmenu.js?ver=3.8.1

    Will connect the file and the menu works..

    The plugin is in the folder mobile-menu and not mobmenu?

    Worked for me..

    Inside the plugin is this function which I changed to mobile-menu instead of mob-menu this fixed 404

    function mobmenu_enqueue_scripts(){

    // wp_enqueue_style(‘cssmobmenu’,plugins_url() . ‘/mobmenu/css/mobmenu.css’);

    wp_register_script(‘mobmenujs’,plugins_url() . ‘/mobile-menu/js/mobmenu.js’, array( ‘jquery’ ) );

    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Menu won't open’ is closed to new replies.