Linked Questions

1
vote
1answer
476 views

How to add fixed position in menu class for Twenty Twelve theme?

I have already looked at many jquery examples on how to make the menu sticky. I have applied these tutorials on clean html pages and they have worked perfectly. However, when I try to apply it on the ...
0
votes
2answers
428 views

Add class to <li> based on content of link in <li>

I've added a custom JavaScript file to my header via functions.php and the file is linked fine when I check the source code (listed well below the main call to jQuery). Within the custom JavaScript ...
0
votes
1answer
3k views

Using FlexNav with WordPress [closed]

Has anyone managed to get the FlexNav plugin - http://jasonweaver.name/lab/flexiblenavigation/ - working with WordPress? I've got an HTML version of the site working fine, but I'm running into ...
-1
votes
1answer
24 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 ...
0
votes
1answer
156 views

jQuery does not work on WordPress editor

I've added some content to WP's editor, however the new content does not respond to the click behaviour. Here's how I've added the content: add_filter( 'default_content', 'custom_editor_content' ); ...
0
votes
0answers
9 views

Javascript not bring used in 3.8 [duplicate]

I'm getting an issue on http://bollywoodbang.ca/wp/, it appears that my javascript files aren't working. I called them in functions.php using wp_enqueue_script(), and in the inspector says that the ...
0
votes
0answers
13 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 ...
0
votes
0answers
11 views

Wordpress Lightbox plugin not working with jQuery [duplicate]

I have an image gallery set up and divided into about five sections. Everything works great w/ the Lightbox Gallery plugin at this point--click any image, the lightbox comes up, can scroll through, ...
0
votes
1answer
46 views

inner jQuery won't work

i'm enqueuing jQuery with wp_enqueue_script( 'jquery' ); (i see <script type='text/javascript' src='http://localhost/wp/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script> <script ...
0
votes
0answers
111 views

How can I include scripts in a jquery loaded page, for a jquery wordpress widget?

Iam writing a wordpress widget with the following pages 1) I have master page (master.php) - is the main plugin page - Loads a second page (slave.php) with jQuery 2) The slave page - has php, ...
0
votes
0answers
12 views

why jquery never trigger [duplicate]

very simple think it was working before on my other project but now for this. i have no idea why.. i have simple drop down menu in wordpress. made via jquery and css.. actually everything fine... ...
0
votes
1answer
36 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( ...

15 30 50 per page