Answer by John Negoita for How to add jQuery script to an individual page?
I've ran into this problem every time I wanted to use a jQuery plugin in my posts and pages. My solution was to create a generic jQuery plugin shortcode...
View ArticleAnswer by Brooke. for How to add jQuery script to an individual page?
Although @s_ha_dum is correct you WILL need to use jQuery no conflict within WordPress the original question is left unanswered. I have this code which I want to add into a specific page of mine.There...
View ArticleAnswer by s_ha_dum for How to add jQuery script to an individual page?
WordPress loads jQuery in "No Conflict" mode. The "$" alias doesn't work. Use the full "jQuery"-- jQuery.$.ajax({... or wrap your script like the example from the jQuery docs...(function($) {...
View ArticleHow to add jQuery script to an individual page?
I have this code which I want to add into a specific page of mine. I don't want to create a file for it and then include etc (though do tell if that would be the only way). Also I don't want it to be...
View Article