Title: wp_head broken
Last modified: August 20, 2016

---

# wp_head broken

 *  [rmast](https://wordpress.org/support/users/rmast/)
 * (@rmast)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wp_head-broken/)
 * 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.
 * [http://wordpress.org/extend/plugins/jquery-vertical-mega-menu/](http://wordpress.org/extend/plugins/jquery-vertical-mega-menu/)

Viewing 1 replies (of 1 total)

 *  [mikeotgaar](https://wordpress.org/support/users/mikeotgaar/)
 * (@mikeotgaar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wp_head-broken/#post-3305993)
 * [@rmast](https://wordpress.org/support/users/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.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-vertical-mega-menu_e5e4e4.
   svg)
 * [JQuery Vertical Mega Menu Widget](https://wordpress.org/plugins/jquery-vertical-mega-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-vertical-mega-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-vertical-mega-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-vertical-mega-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-vertical-mega-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-vertical-mega-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mikeotgaar](https://wordpress.org/support/users/mikeotgaar/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/wp_head-broken/#post-3305993)
 * Status: not resolved