jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is included with WordPress, and available to both themes and plugin developers.

learn more… | top users | synonyms

0
votes
0answers
155 views

Jquery/Ajax+taxonomy filter?

I need to create a filter it doesn't really matter wether it's JS/Jquery or Ajax I just think Jquery/Js would be easiest. Either way this is my situation. I have a few custom taxonomies and custom ...
-1
votes
1answer
89 views

Delete wp_deregister_script('jquery') returns an not shown error

To register my scripts i have this code in my functions.php function enqueue_scripts() { wp_deregister_script('jquery'); wp_register_script('jquery', ...
0
votes
2answers
141 views

When does WordPress automatically enqueue jQuery?

I understood that WordPress ALWAYS enqueues jQuery on all themes, thus it's reduntant to enqueue another jQuery with the same version. However, while developing a theme, for testing purposes I moved ...
0
votes
1answer
71 views

Use options to control jQuery plugin

This may be a dumb question, but I've been teaching myself Wordpress and I've been struggling with this for a while. What I want to do is use a Wordpress control panel page to control a countdown ...
0
votes
1answer
202 views

Blur.js with WordPress - Enqueued, but server not finding file

So as the title suggests, I'm trying to run blur.js on my WordPress theme. I have enqueued the script in functions.php: function load_oves_methods(){ wp_enqueue_script( 'blur', ...
0
votes
1answer
151 views

How to load jQuery in the footer - nothing works for me

I tried all the solutions I found on the internet, including the ones I found here, but nothing works on my theme - jQuery always load in header. I try to use the one from Google, but I would be happy ...
2
votes
2answers
387 views

Creating Multiple wp_localize_script for Shortcode?

I have a shortcode that displays recent WooCommerce products in a carousel, however i would like the end user to be able to use the shortcode multiple times on the same page, currently when this ...
0
votes
0answers
109 views

JQuery is only applying to first post in loop

I have a JQuery script that creates 'arrows' that allow for my textbox to be scrollable, the problem is JQuery is only apply it to the first post (you can see none of the other posts have the arrows). ...
0
votes
0answers
81 views

Can't figure out why a jquery file is not loading!

I have a piece of PHP code that's supposed to load 3 jquery files. For some reason, I can only see 2 of them in the source. I can't figure out why - can anyone help me please? Website: ...
1
vote
0answers
112 views

First Attempt at AJAX and it keeps getting Canceled. Can't Get Results to Show

This is my first attempt at Ajax. I've got it working in the fact that the database gets the record inserted properly, however, once that's done it won't return the response that I've set up. Its as ...
0
votes
0answers
580 views

jQuery infinite scroll and pagination styling in wordpress

I am building a wordpress theme with Masonry (Desandro) and Infinitescroll (Paul Irish). In my index.php for masonry loop I have written:- <?php $recentPosts = new ...
0
votes
0answers
25 views

Comment Nav versus jquery Tabs

I have a page full of comments. These comments have 3 custom_fields assigned to it (using get_comment_meta): New In Progress Solved From my page I call the comments using: wp_list_comments( ...
0
votes
0answers
39 views

Add Media Button Stops Working After Publishing The Post

Add Media Button Stops Working After Publishing The Post. It works fine for the first time when I try to create a post or page. Once I publish the post, it stops working. It is not just Add Media, all ...
0
votes
0answers
204 views

Touch Punch and JQuery Accordion Menu Widget

I have been trying to figure out a way to enable touch events for the JQuery Accordion Menu Widget plugin (http://wordpress.org/support/plugin/jquery-vertical-accordion-menu); i.e. on a mobile device, ...
0
votes
1answer
76 views

How can I implement jQuery plugin correctly with my CPT?

I've tried making an area for client testimonials on my site but I'm having troubles with the jQuery plugin Unslider, which I've implemented. Here is the live site. - The slider is located in the ...
0
votes
0answers
61 views

Fancybox Iframe freezing before loading

So my wordpress fancybox iframe is kinda malfunctioning. When I click the link, the fancybox is triggered and a small rotating image shows and stops for a few seconds, then the iframe shows. Also, ...
1
vote
1answer
291 views

JQuery plugin that works with Google 1.10.2 and not with Wordpress 1.10.2

I'm making a custom implementation of JQuery Colorbox in a Wordpress plugin. However, it's not working with my default Wordpress installation. After tinkering a bit, it comes down to the inclusion of ...
0
votes
0answers
130 views

How to create page with lots of dynamic content(AJAX?)

I am setting up a Wordpress-homepage which has a lot of toggled content(sort of like this: https://jqueryui.com/tabs/). So for example I have a list of links on the left side, and a content-container ...
0
votes
1answer
361 views

insert query on a custom table using ajax with jQuery plugin Jeditable

I've read tons of post already but found no solution... I'm tryin to implement Jeditable functionality in a plugin with this code: jQuery(document).ready(function() { ...
0
votes
0answers
118 views

Calendar based on Codrops

I've been banging my head over this problem for more than a week now and just cound't manage to make it happen. Event though I know that it is possible. I'm building a calendar based on this plugin ...
0
votes
0answers
125 views

How do I call the dashboard's sortable javascript in a plugin page?

I want to create a multi-column sortable widget area in a plugin's settings page. In order to test this, I started by directly copying my dashboard's HTML content from <div ...
0
votes
1answer
176 views

Accessing Advanced Custom Fields with Repeater using jQuery instead of PHP

I am using Advanced Custom Fields (with repeater) and am currently using the following code to access the fields, i.e.: <?php if( have_rows('postage_prices') ): ?> <ul ...
0
votes
0answers
107 views

Show different category galleries without page refresh using Galleriffic and Wordpress

I'm using Galleriffic in a WordPress site to display a gallery of images. The images belong in several different categories, and I want users to be able to filter by category via a submenu without the ...
0
votes
1answer
30 views

Is it necessary to use a WordPress nonce when allowing users to download public data?

I am using jQuery .load() to load the next page of WordPress posts after a button is clicked. The next page of posts is public data (no access restrictions on it whatsoever). Should I use a WordPress ...
0
votes
1answer
78 views

jQuery .change() Event Bubbling in WP Admin

Experiencing some very odd behaviour in WP Admin, specifically on widgets.php. I'm creating a custom widget, and am writing some simple JS. This is the hook I'm using to enqueue my JS: /** * Enqeue ...
2
votes
1answer
216 views

How do I setup nested repeatable option fields?

I'm trying to wrap my head around how to create a set of option fields that should be able to repeat for as many times as possible. But I'm having a hard time to figure out how to proceed. Currently ...
0
votes
1answer
157 views

Wrap posts p tags in div

I am trying to set up blog posts so that when an image is added it is wrapped in one div set to float right and when text is added it is wrapped in another div set to float left. So that all images ...
0
votes
0answers
46 views

Scripts only working on home page

I am using the following example code to enqueue several scripts.. add_action( 'wp_enqueue_scripts', 'my_scripts' ); function my_scripts() { wp_enqueue_script( 'jQuery-Main', ...
0
votes
0answers
75 views

Why does WordPress load jQuery in my header instead of footer?

Here's a site I'm working on... 198.1.77.196/~larog/ I've taken an older WordPress theme (Twenty Ten) and modified it to be my own theme. Anyways, the site isn't anywhere near done, I'm just in the ...
0
votes
0answers
48 views

Thumbnails to append content from database via ajax

Completely re-edited question: I am displaying music album covers as thumbnails in a page template. I would like to be able to click on an album thumbnail and pull the corresponding details for that ...
0
votes
1answer
768 views

Uncaught ReferenceError: jQuery is not defined . How do I define it correctly?

The following code is in the same php script. But I get Uncaught ReferenceError: jQuery is not defined in chrome debugger. validate.js is in plugins/validate/validate.js I know this is the problem ...
0
votes
1answer
174 views

Using 'jQuery menu aim' for WordPress (Genesis) drop down menu

For this site I want to build a better drop down menu – under 'Data' on the top left – to access the site's content. The website is built using the Genesis theme. I would like to use Ben Kamens ...
0
votes
1answer
221 views

Masonry Append WordPress posts with singleMode

I'm using Masonry on a Wordpress site, to display posts from a custom post type (training_videos). As all the columns are the same width im using the singleMode = true option. The site is a ...
0
votes
0answers
883 views

Uncaught TypeError: Object [object Object] has no method 'dialog'

I have a project in WordPress. I am trying to implement dialog box popup on click of hyperlink. On click of this link, function shownm1() is called which is placed in .js file. The function contains ...
-1
votes
1answer
1k views

Infinite Scroll applied to ajax loaded content

I'm doing a WP_Query on let's say page-a.php, that page has a div called target where page-b.php is being loaded into. Page-a is a custom template and page-b is an archive page. The structure on page ...
1
vote
1answer
256 views

How do I make sure a plugin loads a script after jQuery

My client has a site running the latest version of WordPress, with Thesis. Currently, jQuery is being loaded in the footer, as the very last script to be loaded. I'm not sure what is causing jQuery ...
0
votes
1answer
114 views

Is it OK combined wp-include js, jquery, css?

I have combined wp-include folder JavaScript, Jquery, CSS, jquery.ui, min.css and min.js files using W3 total. JS, jquery, jquery.ui and min.js files are combined and added before tag ( w3tc) with ...
1
vote
1answer
123 views

Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1

I am attempting to install the image LazyLoad plugin with use on my Wordpress 3.3.1 blog. I have followed the basic instructions, so it is installed and activated on my development site. The ...
0
votes
1answer
140 views

Running javascript in a child theme. Works in jsfiddle

Here is the JSFiddle http://jsfiddle.net/thornwalker/3LQjS/ I'm trying to get it to run on my wordpress blog and having no luck. My skill is novice at best, but up until now I've been able to muddle ...
0
votes
2answers
291 views

How to use jquery included with wordpress for jpanelmenu

I have successfully been using jpanelmenu in my wordpress themes for some time, loading jquery from the google api, like this: if ( !is_admin() ) { // jQuery wp_deregister_script('jquery'); ...
0
votes
0answers
271 views

Bootstrap Scrollspy Incorrect Highlighting

I have a WordPress site that integrates bootstrap scrollspy. Scrollspy is activated when you scroll but it highlights the first two items incorrectly in the navbar. It seems there is an offset problem ...
0
votes
0answers
137 views

Including Older Version of jQuery for IE7/IE8

I realise jQuery 2.0 dropped support for some browsers including IE7 and IE8. I'm only using a bit of jQuery on my WordPress site, but since I need to support IE7/IE8, I was wondering what the best ...
0
votes
0answers
8 views

How to load dynamic content via jquery/css in a page? [duplicate]

I'm trying to re-edit my website, and convert it's content into wordpress. I have the layer slider in which I've selected <div/video> option to add a NowPlaying html div which is loaded ...
0
votes
2answers
3k views

How to redirect non-logged in users to a specific page?

How to redirect non-logged users requesting for a specific page/URL to another page/URL and display a message like "for members only". I know its quite easy to code using !is_user_logged_in() ...
0
votes
1answer
73 views

How to hide wordpress error message?

how to hide wordpress error message "You do not have sufficient permissions to access this page" and show 404 error page for all non administrator's request like e.g mydomain.com/wp-admin/plugin.php ...
0
votes
0answers
91 views

Grabbing image attachments for Flexslider

I'm trying create a function that will load image attachments of a post into a list for FlexSlider to use. To specify, I want an image slider that is specific to a certain post. There may be many ...
-1
votes
1answer
298 views

Custom jQuery plugin not working

I'm trying to use this addon: http://trentrichardson.com/examples/timepicker/ to make it possible to edit a post date and time in the frontend before submitting it. I'm registering my scripts like ...
0
votes
0answers
24 views

how to change the default login page of wordpress from wp-login.php to custom login page? [duplicate]

how to change the default login page of wordpress from wp-login.php to custom login page. So that any request for login by any user should redirect to custom login page instead of wp-login.php.
0
votes
0answers
119 views

How to Insert Popup box shortcode in wordpress

I create a Tinymce Popup box for inserting shortcode on content area in wordpress. When I click shortcode button then popup box open successfully with input field. But when I click popup box insert ...
0
votes
1answer
662 views

Why won't the Jquery validation plugin work?

I am trying to use a Jquery validation plugin called bassistance. I have wp_enqueue_script the script. I have loaded Jquery as I understand it's built into wordpress. I have included the ...