Linked Questions

0
votes
1answer
4k views

owl carousel not working after ajax load [duplicate]

i use jquery 1.11 and this code to ajax load wordpress post content in sidebar . everything is good but jquery functions of owl carousel not work and the carousel in post content not showing anything. ...
0
votes
1answer
3k views

Contact form 7 issue with jquery - hiding/showing fields [duplicate]

I've followed a tutorial regarding how to hide/show Contact Form 7 fields using jQuery. I have used this before and it worked wonders. However, on a new site for some reason it isn't working. The ...
0
votes
1answer
4k views

TypeError: $ is not a function Error using parallax effect in Wordpress Template [duplicate]

I`m trying to include a parallax Effect into one of my cutsom page templates. The js function is returning the following error in the firebug console: TypeError: $ is not a function The error is on ...
0
votes
1answer
3k views

Jquery function working in Dev Console but not otherwise [duplicate]

Can someone help me utilize native wordpress jquery to run my function? The only working test i have done is to load an external jquery resouce via the chrome dev console and then add my function to ...
0
votes
1answer
1k views

onclick jquery function not working in wordpress header file [duplicate]

I am trying to get alert on click event of a tag, but it seems to be not working. Here is the code. I put this in header.php <script> jQuery(function() { jQuery('.neha').click(function () { ...
0
votes
1answer
242 views

Wordpress video end function [duplicate]

Possible Duplicate: $ not defined using jQuery in Wordpress I need to trigger a alert box when video ends THis is the code i got from google <script> $("iframe[src^='http://www.youtube....
-2
votes
1answer
225 views

Jquery dropdown menus working locally, but not in Wordpress [duplicate]

So I've followed this tutorial to the T, even downloading source files and implementing locally: http://red-team-design.com/simple-and-effective-dropdown-login-box/ I also saw another poster here ...
-1
votes
1answer
214 views

Custom JQuery script in page template won't work [duplicate]

i created custom page template where i inserted followed JQuery script. <script type="text/javascript"> $( document ).ready(function() { console.log( "ready!" ); }); </script> But it ...
0
votes
1answer
199 views

retrieving page content per AJAX [duplicate]

I am currently working on a single page website. I am trying to retrieve the page content via AJAX. The page URL is http://mylocalserver/sad/wp/clients. $.get( 'http://mylocalserver/sad/wp/wp-...
-1
votes
1answer
36 views

Element works, but not on wordpress site [duplicate]

I made an instagram widget on codepen. It works great and it functions. However, when I try adding it to my site it does not show up. Does anyone have any suggestions for how I could get this ...
-2
votes
1answer
57 views

How to Add jQuery cod in wordpress [duplicate]

I would like to add this small jQuery code in my wordpress website but no way. $(document).ready(function(){ $('.flex-active-slide').append('<div class="playoverlay"></div>'); }); I ...
-1
votes
1answer
52 views

Cannot get jQuery to work in WordPress [duplicate]

I had the following jQuery script on a static HTML page and it worked fine. However, when I enqueue it into WordPress it doesn't work. Here is the JS file. $(window).scroll(function() if ($("....
-2
votes
1answer
45 views

Script not working in Wordpress [duplicate]

This is the rotation script for images <script> var image = new Array (); image[0] = "http://placehold.it/20"; image[1] = "http://placehold.it/20"; image[2] = "images/banner3.png"; image[3] ...
0
votes
0answers
19 views

jQuery isn't working with wp_enqueue_script() [duplicate]

I'm trying to set focus to textbox in a modal using the code below: $('#search-modal').on('shown.bs.modal', function () { $('#s').focus(); }); this code is in script.js file which I add it using ...
0
votes
0answers
16 views

Using jQuery safe mode in WP? [duplicate]

I am pretty new in WordPress and I know just a litle about jQuery and Javascript and I have the following problem: Into my functions.php file I load jQuery, the jQuery FlexSlider pluging (that create ...

15 30 50 per page