• Hello,

    I tried to get this plug in to work for WordPress 3.5 and 3.4.2 and even tried it on a fresh install. It didn’t work.

    With activated plug-in I saw that WordPress puts the javascript-definitions meant for the header at the end of the page, just after where it should be used.

    I used NetBeans 7 to debug it.

    Some googling revealed that in wp-content/plugins/jquery-vertical-mega-menu/dcwp_jquery_vertical_mega_menu.php there should be a little change at line 60:

    add_action( ‘wp_head’, array(‘dc_jqverticalmegamenu’, ‘header’),0 );

    or you could try to change ‘wp_head’ for ‘init’.

    I’m afraid something has changed to the WordPress-definition of add_action wp_head lately.

    https://www.ads-software.com/extend/plugins/jquery-vertical-mega-menu/

Viewing 1 replies (of 1 total)
  • @rmast
    Thanks for this info – I’ve also got issues with mega menu and WP3.5 (with menu expanded always).
    I’m going to try your suggested fix, or possibly hard code the js file in header
    The java file has to be called from the <head> section or the menu won’t work (seen this before with a java CDN plugin putting the .js file in footer.
    (Many changes to the way WP3.5 deals with Java and other things – some of them are not good…)

Viewing 1 replies (of 1 total)
  • The topic ‘wp_head broken’ is closed to new replies.