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

Passing jQuery value using Ajax to a page template

I have the following jQuery code:- jQuery('.fancymember').on('click', function() { var member = jQuery(this).parent('div').parent('div').find('.test').val(); var dataString = 'member='+ ...
-1
votes
0answers
10 views

Autocomplete search taking too much time to load custom taxonomies

i am using search autocomplete plugin to show custom taxonomies in WordPress search. But when i type any of taxonomy it takes around 7-10 Second to load taxonomy. even i have set autocomplete_delay to ...
0
votes
0answers
6 views

how to display term name angularjs

I've recently learned about angularjs and I am trying to display a term associated with a specific custom taxonomy. So far this is what I've tried in my partials file - <div ng-repeat="post in ...
0
votes
0answers
14 views

angularjs not displaying all posts

I learned about angularjs today and I am trying to create a page for my search results so that I can be able to create facet filters. Currently I have a page template with the following code -- ...
-4
votes
0answers
14 views

Dot navigation in wordpress [on hold]

hi i want to put allot of information on a wordpress page and i want to put a function in it so you only see parts of that content. something like this: JSFiddle I hope someone can help me to make ...
0
votes
0answers
13 views

WP set auth cookie using Ajax is not saved to browser

We are creating an external dashboard that uses Wordpress data, obviously, we use WP REST API v2 We want total separation from the traditional WP Dashboard, but we also want to log in user "behind ...
0
votes
2answers
20 views

Wordpress Multiple Navigation bars

This is more of a 'Is it possible question" I have a home page which has a full width header and a transparent Navbar, when you scroll this Navbar changes to white. On all my other pages I want this ...
1
vote
1answer
18 views

Add colorpicker to featured image

I'm trying to add a colorpicker to the featured image meta-box. Here is some background: I use the featured image meta-box to place parallax background images. Because a user is allowed to place text ...
0
votes
0answers
22 views

How to use jPList with search results

I've been working on a real estate site and looking for a way to refine search results page + update pagination, instantly, like the big name sites (ie hotpads.com, trulia.com, hotels.com, etc.). ...
-1
votes
0answers
24 views

SpriteSpin jquery implementing

Seem to be hitting a wall when trying to implement some jquery for a spritespin viewer plugin. Here are the steps I have tried following: adding a wp_enqueue_script at the top in my functions.php ...
-2
votes
1answer
26 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 ...
-2
votes
1answer
35 views

How to change the Visual Composer 'Post Grid' read more text by jQuery or in admin panel

I looked in the VC 'Post Grid' setting page and tabs but unable to find an option to change the 'Read More' button text. So I've tried to change it using jQuery when the document is ready. my 'read ...
0
votes
2answers
35 views

show/hide div with simple jQuery script

I want to show/hide contents by using radio buttons on a WordPress page. When a user clicks on the radio button with label "red", the corresponding div with the class "red" needs to show up. Here's ...
0
votes
1answer
27 views

File not enqueueing

I hate to add to the multitude of "script not enqueueing" questions, but I can't seem to figure out why my "tablesorter" scripts won't enqueue. The other script (customsjs) in the same directory is ...
0
votes
1answer
25 views

WordPress Ajax problem with undefined url

I have problem with wordpress plugin - in jQuery.ajax part, the ajax_object (url: ajax_object.ajax_url) is undefined and I don't know why. I cant recieve correct code from my php plugin, but if I ...
-2
votes
0answers
13 views

How to add scrollmagic jquery like this?

www.mypersonalbest.com Here in the banner, all icons are coming together and going inside the funnel when scroll the page. How to add this type of effect in html?
-1
votes
1answer
25 views

How to have Facet Search like Zillow, Trulia, Hotpads, Hotels, etc [on hold]

I am working on a real estate site and I am trying to implement a refine search form that allows users to filter/sort the search results after an initial search. I dont want to use a paid plugin ...
0
votes
0answers
13 views

WordPress Meta Box + WooCommerce - Display for specific product type right away?

So I've created a custom product type 'MY_PRODUCT_TYPE' and a meta box and that displays for this product type: function MY_PRODUCT_TYPE_meta_box($post_type) { $post_types = array('product'); ...
0
votes
0answers
11 views

Using Custom jQuery Datepicker for Persian Calender

I'm working on a website for hotel room booking. I'm using a theme and a plugin that goes with it. The plugin has booking feature but I need to change the datepicker to Persian datepicker. I've found ...
0
votes
1answer
25 views

Woocommerce checkout field maxlength, make input number field only (postcode)

I've been struggling with this for a few days now. What i want to do, it to limit the Postcode/zip fields to 4 numbers. So, to add a maxlength and a type="number" to those fields. Things i've tried ...
1
vote
2answers
59 views

Why is my ajax call refreshing the page?

I'm attempting to upload an audio file via AJAX form. Here is my HTML in the profile-edit template. <form method="post" id="my_upload_form" action="" enctype="multipart/form-data"> <input ...
1
vote
0answers
19 views

Adding auto-complete to custom gravity field not working

I am trying to add auto-complete to my custom fields on gravity forms.But its not working.Data returns but not showing on field.I am doing like this: (function( jQuery ) { jQuery(function() { ...
0
votes
1answer
16 views

Problem with adding animated effect on site-title

I have to add animated effect on sidebar widgets and site title. I have been using "http://www.web2feel.com/tutorial-for-animated-scroll-loading-effects-with-animate-css-and-jquery/" and ...
0
votes
0answers
20 views

Use Media Uploader on Multiple Images on same page

I have multiple image user meta fields on the same page and am using a media uploader jquery script to set the URL as the text fields value when the image is clicked. Works ok on one image field but ...
0
votes
0answers
34 views

How can I use ajax in WordPress to refresh the page without reloading the Page?

How can I use Ajax in WordPress to refresh my div content after certain intervals without actually reloading the page. I am struggling with the code. My Ajax code. <html> ...
0
votes
0answers
16 views

Lazy loading Ajax offset not working

I am attempting to create a lazy loading ajax feature on my site. There is a 'click more' button which will then load 10 posts via ajax and append them to the HTML container. I want to display 10 ...
-3
votes
0answers
16 views

Swapping ?orderby=title href on click or if active

I have a list of posts with multiple orderby buttons. I would like the buttons once clicked to then sort the posts in the reverse order. For instance I currently have: <a ...
-3
votes
0answers
22 views

Essential Grid WordPress Plugin not working on bootstrap tabs

I am using essential grid plugin for displaying posts. When i click on second tab. the essential grid posts will be shown after 5 to 15 seconds. i want to show them in quickly.
0
votes
1answer
53 views

WordPress Google Maps in Custom Theme

So I'm building a custom theme and implemented the Google Map API so I can give it a cleaner feel and so on then the normal Google Map. I've run into a problem when implementing my Marker as I ...
0
votes
2answers
37 views

Add a row on clicking each post featured image

I have to add a row that (containing the content of post) below the post thumbnail on clicking thumbnail. I have done it by using this but it affects the adjacent post thumbnail.I want that a ...
0
votes
1answer
18 views

Submitting my form to the database and then redirecting to payment site

I am submitting data to my custom table and would then like to redirect to a third party who will handle the payment. (not PayPal). I have the following code which adds the data to the database. The ...
0
votes
1answer
25 views

Adding divs to WordPress page content

I am wondering if there is a way to add divs to specific elements in the WordPress page content? For example, I would want to wrap a div around content starting at a H2 element and ending after an ...
-1
votes
0answers
25 views

ACF gallery field within fancybox

I have an "advanced custom fields" repeater field for types of room for a hotel, and a gallery sub-field which I want to load in a fancybox when a thumbnail image is clicked, however Fancybox does not ...
-2
votes
0answers
48 views

TypeError: $ is not a function for any/all js library [duplicate]

TypeError: $ is not a function for any/all js library I tried to fix this below issue by multiple js conflict variable of different methods. this is one link i referred during the effort to fix. There ...
0
votes
0answers
25 views

FancyBox Transitions

If you visit http://www.cube.umbrella.al/minimal/2013/07/25/nokia-lumia-1020-review/ (This isn't my site, but it uses the same format/gallery aspect of my own, its just for demo purposes for ...
1
vote
1answer
33 views

Autogenerate Front End Form Field With jQuery

I am attempting to autogenerate the terms in a custom taxonomy from a front end field. However, when I use the following code and try to type in a letter the dropdown menu that appears is a bunch of ...
0
votes
1answer
25 views

Jquery autosave text area after typing

I'm trying to learn how to use Jquery, and manipulate some existing code to do what I need it to do. I am wanting to edit this code to make an editablecontent text area save a certain number of ...
0
votes
1answer
28 views

Javascipt issue on custom theme

First off I always seem to have trouble getting my JS to work with WP. Currently I need some help figuring out what is going wrong with my javascript and ultimately what I am doing wrong. I have this ...
-1
votes
0answers
25 views

image gallery popup for image “insert form url”

i want a image popup like lightbox , fancybox , in post , but for image insert with method "insert form url", i tried various plugin but never have a option for popup for external image, exist a ...
-1
votes
0answers
21 views

Prevent form submit : spinner icon keeps moving

I am trying to do custom form validation. Following is the code $("form").on("submit", function () { $('.subtype').each(function () { if ($(this).val() == '') { alert("Please ...
0
votes
0answers
10 views

Run script when media uploader is opened in post

I've added additional fields to attachment fields so that the user can select a photographer either from a dropdown that has a list of photographers, or you can put your own photographer. For that ...
0
votes
3answers
18 views

jQuery search function not running in Wordpress but running locally (fiddle)

as the title suggests, I am running into this annoying issue: The search is not working in wordpress but it is working in the fiddle and locally. The sorting is working in wordpress. I have the ...
0
votes
0answers
15 views

Using gfapi causes admin-ajax to cancel

Perhaps this is better suited for Gravity Forms support, so I'll also look into asking there...however I'll post here just in case anyone has a solution. We're using Gravity Forms to handle ...
0
votes
0answers
20 views

Moving CDN jQuery to footer does not work?

What I want to achieve: Change the default JS to Google's CDN --> this works Move the Google CDN to the footer --> this does not work My code: function my_init() { if (!is_admin()) ...
0
votes
1answer
32 views

Enqueue script: link not working in page source

I am using the Front-End Editor plugin of Scribu at my website. I want to enqueue it, because I want to use it alongside my caching plugin, but that one only works when JS files are enqueued. The ...
0
votes
0answers
41 views

Jquery Load with shortcode inside

I'm facing an issue to put my dynamic div working and i can't get no solution! In my child theme, I've a template which works correctly when page is created: <?php get_header(); ?> <script ...
1
vote
0answers
24 views

Redux Framework: Page freezes on typing in Editor

I am using Redux Framework. I am facing an Issue with the editor in Theme Options of Redux Framework Currently I have 103 editors in the options. My Issue is that whenever I start typing ...
0
votes
1answer
64 views

Delete post image attachments with jQuery from the front end

In my WP 4.4 Twenty Sixteen child theme I want to delete post image attachments from a front end form created by a plugin. To achieve this I followed this answer, but the delete links doesn't delete ...
1
vote
1answer
16 views

Creating multiple enclosing shortcodes and fixing JS issues on click

I have the following shortcode to create multiple 'more' sections in any page/post: function more_shortcode( $atts , $content = null ){ return '<div id="more-outer"><a href="#" ...
0
votes
3answers
41 views

jQuery datepicker not showing on admin menu

Nothing happens when I select the datepicker field. This is the code for the field: <input id="sticky_date" name="sticky_date" class="datepicker hasDatepicker" type="text"> The javascript ...