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
12 views

Trying to modify a plugin jQuery event

I'm using a plugin called "Out of the Box" to show dropbox contents. The search is designed so that it... only searches the folder and child folder you start from begins searching on a "keyup" event ...
0
votes
1answer
20 views

Reload wordpress shortcodes

Let's say I have a page, and inside that page, I have inserted shortcodes/plugins for a chatbox, twitter feeds, fb feeds, tumblr, etc. The shortcode accepts parameters for different hashtags to ...
1
vote
0answers
10 views

Detect a focus on wp_editor

I wan't to detect/callback when a wp_editor(..) output text-area/content-editable is focus. Quite a simple question that I could not find anywhere. <div class="compose-body"> <?php ...
0
votes
0answers
20 views

Category filter with load more ajax

What I am trying to do is to do an Ajax request to filter posts on category click depending on the category id, then apply load more posts by ajax. Problem: when I fire the ajax call by clicking on ...
0
votes
0answers
6 views

jquery prettyphoto insert miniatures lightbox and navigation tools

I have a question to ask: why if in jqueryprettyphoto.js if I enter the parameter: hook: 'data-relay', / I can see navigation tools, twitter, facebook but I can not save the picture. however if I ...
0
votes
0answers
4 views

BX Slider Controls Issue [on hold]

I have multiple sliders on one page and every slider is open in pop-up box. For this I am using bx-slider but I encounter a problem that when I open my any of slider first time on page load my control ...
-2
votes
1answer
20 views

How to get posts from external website with tags common using ajax Json? [on hold]

Plzzz How to get posts from external website with tags common with current post using ajax Json and show it in my website.
0
votes
1answer
9 views

datepicker value in mysql

I am using a plugin WP-Types for custom post types in which there is a option to create custom fields in which i created one date field for my requirement. Now what happens when i add any date into it ...
0
votes
0answers
12 views

Cross fading code for website

I found this tutorial for cross fading images through a link click: CSS3 = Awesome: Cross fading images It is number 6 in the tutorial. I know there are some changes to the jquery that need to be ...
0
votes
0answers
23 views

Toggle Visibility of Separate Javascript Files on Same Wordpress Page

Let me preface by saying my knowledge of JS is lacking at best and the concept of installing/loading/enqueueing a function on one area of the site and then calling that function in another area of the ...
0
votes
0answers
17 views

toggle ajax loaded content on second click [on hold]

I am loading content from a post into a div using: <script> $(document).ready(function(){ $.ajaxSetup({cache:false}); $(".post-link-<?php the_ID(); ?>").click(function(){ var post_link = ...
0
votes
1answer
27 views

Admin Ajax is returning 0 and not Insert data

I am relatively new to jQuery and AJAX in particular. I have a small issue with the return value always being 0, though I think this is actually the success message and it's not returning anything. I ...
1
vote
1answer
22 views

Wordpress custom taxonomy check box to dropdown

Hi my custom taxonomy name is country.In this A is a country, a-sub1,a-sub2 are states under A. b-sub1,b-sub2 are state under Country B. Now i need to display the country list(parent) box and state ...
0
votes
0answers
35 views

Price Slider Worked Using jQuery conflict but Other jQuery stopped

I used a price range slider which was not working due to conflict between jQuery and jQueryUI. I added noconflict mode before calling the function for price range slider. That worked and now the price ...
0
votes
1answer
29 views

Is there a way to enable Cross-Origin Resource Sharing for WordPress' ajaxurl?

WordPress already has a default URL for jQuery-WordPress application calls and it's well known as the ajaxurl. However, there are cases wherein one would need to enable Cross-Origin Resource Sharing ...
0
votes
0answers
31 views

[jQuery]Autocomplete and $.post

I managed to solve it using Sisir's push in the right direction. Here's the javascript function: function render_edu_hook_javascript() { ?> <script type="text/javascript"> var ...
0
votes
0answers
8 views

openbtn.addEventListener is not a function?

Someone has helped me with this script in Codepen where it worked fine, until i tried to implement it into my Wordpress website. The two sets of grey dots are buttons. Each button will open it's own ...
0
votes
1answer
22 views

How to get this jQuary script working?

I've searched for it, but I just getting more confused. I want to use this script to show a menubar after scrolling down 200px: ...
0
votes
0answers
19 views

Enqueing Scripts

Perhaps more of a verification question for me... My plugin uses a few JS files which it enqueue's, however I am finding that in some instances of WordPress and some Themes the JS is not working as ...
0
votes
0answers
17 views

Been at this for hours--how do I add a jQuery function in the functions.php of WordPress?

I can't include all the things I need to include in my one multi page gravity forms form. If I try to include too much it just 403 errors me. I need to add a video at the top of each page. I've spent ...
0
votes
0answers
37 views

WordPress AJAX File Upload - FrontEnd

So I have been reading through every WordPress front-end AJAX file upload tutorial I can fine. Nothing is working for me at the moment. The one that makes the most sense to me is this one: ...
0
votes
0answers
6 views

CF7 copy fields from non-CF7 form in iframe on blur [on hold]

I am building a complex mortgage calculator with input fields. I created a cf7 form which is the plugin they use for all their other forms to interface with the db plugin and capture the data. I have ...
0
votes
1answer
18 views

Jquery being loaded wrong

So first off, I don't understand this coding very well. So bare with with me if I'm using the wordage wrong. I have a plugin called TablePress. It's creates tables from csv files and uses jquery to ...
0
votes
1answer
29 views

Checking length of string in an admin area field onblur with jQuery

I have a custom field (I use Advanced Custom Fields plugin) set up to display when creating a new Post. A user must enter a 4 digit year. No more than 4 characters, no less. I have the following in my ...
0
votes
0answers
8 views

mceInsertContent repeating previous values

I am trying to insert a shortcode to the editor using jQuery dialog. But every time I click on insert button it adds the previous values with the current values. For example, on first click it adds ...
0
votes
0answers
22 views

Append post link via jQuery [on hold]

In an effort to get a nice, transitioning post filter I downloaded the Quicksand jQuery Post Filter and changed the code to match my desires, amongst others I added post content, changed layout and ...
0
votes
0answers
33 views

Template file structure , wordpress hook for altering the template

i need to convert a html structure to theme. So this is my html structure <html> <head> ................. </head> <body> <div class="main"> <div ...
0
votes
0answers
26 views

How do I implement a Jquery drop down plugin with Gravity Forms?

I have a form, Form ID 10 created in Gravity Forms. I am attempting to use this jquery dropdown in place of the regular dropdown, or even the Chosen Jquery included with Gravity Forms. I'm very novice ...
0
votes
0answers
25 views

Flexslider + Tabs + WP default query script issues

I'm having some issues with flexslider and tabs to work together. Example 1 - if i add google cdn to header above all works fine. Now the thing is, i know it's not a proper way of adding jquery ...
0
votes
2answers
17 views

problem with creating a wordpress post slider

firstly i know i have to add some code explaining what i have done before. But honestly i had tried more than ten tutorial concerning wordpress post slider based on flexslider or bxslider or other ...
0
votes
0answers
11 views

jQuery wp_dropdown_categories?

I'm trying to make a search with 3 options that are parent categories. Make, Model, and Year. "Model" is dependent on "Make", When Make is selected The models should display the grandchildren of the ...
0
votes
1answer
41 views

Are innerHTML elements visible to jQuery functions?

For example, on my admin page i.e. dashboard side: //This is hidden until search results come back //which will be inserted as innerHTML within #searchResults <div id="hideShow"> ...
1
vote
2answers
46 views

Click loads template via ajax

I'm trying to load a template via ajax if the user clicks on a button. This is the code I'm using: On functions.php: function phantom_scripts() { global $child_dir; /* Ajax Requests */ ...
0
votes
0answers
32 views

Minify CSS & JS files server side for Wordpress

I'm hoping someone can help me. I am looking to create a php script that will minify (and preferably concatinate) all my CSS and JS files into one minified file for each. i.e, one JS file and one CSS ...
0
votes
1answer
39 views

Jquery in Child Theme

I am new to Wordpress and I need help with integrating my own jquery into a child theme. I have this jquery tooltip which works but I want to include it into my wordpress child theme. Have a look ...
0
votes
0answers
21 views

How to properly use chosen jquery in wordpress theme customizer

From past 15 days I have been trying to add chosen jQuery plugin in Wordpress Theme Customizer. I have succeded also in adding the chosen,jQuery plugin properly. But the problem is that when I ...
1
vote
1answer
20 views

multiple taxonomy select display only one in front end

I have various custom taxonomy, sometime, I have multiple choise selected in the back end ( cf screenshot) however, in Front end, I have only one getting display, I would like to have all of them ...
0
votes
1answer
53 views

How to call javascript function (jquery) in a shortcode?

Before asking here, I've searched a while and found a tutorial about creating a wordpress plugin with shortcode and javascript calling. But I'm not able to make it work on my side. The tutorial is ...
1
vote
1answer
23 views

Is there a restriction in WP on the use of jQuery load function?

I'm just trying to load a simple txt file for testing purposes. jQuery(document).ready(function(){ jQuery("#buttonAjax").click(function(){ jQuery("#demo").load("demo.txt"); ...
0
votes
0answers
14 views

window.send_to_editor from custom thickbox button

I am trying to append a shortcode to the editor from a custom thickbox window. Everything is working smoothly except that the content isn't being sent to the editor. Here is the thickbox HTML. ...
0
votes
0answers
10 views

Adding a jQuery rotator function

I wanted to test and use the bellow function from @kaiser for a jQuery rotator, but I received an error. Can anyone tell me what is wrong? I have followed all instructions of the author. The ...
-1
votes
1answer
36 views

WooCommerce - Checkout suddenly stops working [closed]

From one day to the next apparently the checkout, specifically selecting a payment option stopped working. I can't figure out why, but when selecting an option, the page keeps jQuery reloading. this ...
0
votes
0answers
9 views

Perform a 'refresh' transport or open the site in new tab, after saving the theme in Customizer

Is it possible to perform a 'refresh' transport after saving the theme in Customizer? Can you help me about this? If it is not, then my plan B is just to open the site in new tab after saving the ...
0
votes
0answers
26 views

How to solve this script problem in theme directory?

I have a jQuery Ajax call that calls a php script. This call works if the file is in the root of the site but does not work if this php script is in the theme folder . Additionally, I have a 500 error ...
0
votes
0answers
21 views

I' trying to display list of post and next and previous navigation for posts

using ajax in wordpress but i'm not able to get the same thing. here is my code this is my tag.php to display the posts " > <div class="post_text"> ...
0
votes
0answers
10 views

What to do after a wrong RewriteRule?

I have A Wordpress MU and following this answer I changed my root .htaccess placing this before the Wordpress loop RewriteRule / /subfolder [R=301,L] trying to have a different homepage. It didn't ...
0
votes
1answer
37 views

add bootstrap post slider with tabs

I'm trying to add a carousel with my post. UNder the carousel, some tabs with the post title. On click of the post title, it should change it the slide to display the related post. In " Static" in ...
0
votes
1answer
82 views

Prevent other versions of jquery from loading on static front page

This site is using cordillera which calls on /wp-includes/js/jquery/jquery.js?ver=1.11.2. The child theme contains a front-page.php which consists of: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
0
votes
1answer
45 views

JQuery is not defined but jquery script is loaded in source [closed]

I'm new to Wordpress and I'm trying to use JQuery on a static home page. I'm getting the infamous "Uncaught ReferenceError: JQuery is not defined" error, although in the page source the JQuery script ...
0
votes
0answers
22 views

Global Navigation for Multi-site Sub-sites Using jQuery

I'm looking to add the main site's main menu to the top of all sub-sites on a multi-site install. Requirements The menu should appear directly after body, above any site content, independent of ...