kyleiwaniec
Forum Replies Created
-
That’s all I got. I hope you find a solution.
Cheers.
I had the same problem. It turned out I had multiple references to jquery because every plugin using jquery was inserting its own link to it in wp_head (in the <head> of your page), thus they were clashing.
There are some things you can do to fix this. I found this little code snippet which removes all jquery and only inserts only the one you specify:
put this in your functions.php file:
/* stop loading multiple jquery scripts by plugins */ if( !is_admin()){ wp_deregister_script('jquery'); wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"), false, '1.3.2'); wp_enqueue_script('jquery'); }
However, that works if your plugins are properly written. My google calendar plugin was not, and was ignoring this. And for some reason my jquery drop-downs didn’t like it. In the end, I didn’t use this trick. I had to go into my calendar code and remove their reference to jquery. That fixed it. And everything is working now.
I hope this helps someone.
Cheers.
PS. Oddly enough, I still have an extra link to jquery (from a different plugin), but things are working fine, so I’m leaving it alone :).
Forum: Themes and Templates
In reply to: remove classes from nav_menu itemswhat you’re describing is exactly what I’m doing. And my colors come up as one of the classes in the items.
I want to remove the other generated classes.
ie: menu-item menu-item-type-post_type menu-item-object-page.Forum: Themes and Templates
In reply to: remove classes from nav_menu itemsHi JPry,
Thanks for looking at this.
the code inside functions.php which I’m hoping to tweak
the nav HTML that is generated by wordpress
the nav HTML as I want it to look
Kyle