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

-1
votes
0answers
15 views

How to add custom jquery to wordpress? [closed]

At my woocommerce site site im getting syntax errors, when im trying to add a custom function, so i must have implemented the function wrong. The code sample below is my functions.php file, where i ...
0
votes
0answers
193 views

Jquery autocomplete not working on Wordpress post edit screen, (conflict with tinymce scripts)

TOday i did a lot of googling to find the solution to my jquery autocomplete issue. Finaly i am here to find help... The issue is... On my wordpress admin side (on post edit screen) I am using jquery ...
0
votes
0answers
11 views

How to integrate jPanelMenu jQuery into WordPress

I would love to know how, if possible, to integrate a jQuery plugin into WordPress so it replaces the navigation. Trying to integrate jPanelMenu in my WP site. jPanelMenu is a jQuery plugin ...
3
votes
2answers
4k views

Use latest jQuery in WordPress (admin interface)

I want to use the latest jQuery (and jQuery UI) versions on my admin interface (editing a specific post type that I created). I tried this: // jQuery 1.x wp_register_script('jquery1x', ...
0
votes
1answer
18 views

POST from jQuery to PHP

I have a form that passes field values to jQuery, which validates the fields and creates the variables being sent in data: {} in the snippet below. $.ajax({ type: "POST", url: "<?php ...
0
votes
1answer
19 views

jQuery Validate wp_editor

I have a form, and in the form, I use <?php wp_editor('', 'user_submitted_progress', $settings = array('textarea_name' => 'user_submitted_progress')); ?> to generate a TinyMCE, rather than ...
0
votes
0answers
19 views

How to disable controls in theme customizer?

Edit: I have rewritten the question in hopes I will get a reply from someone who knows the theme customizer. I am trying to figure out how to disable setting controls in the Wordpress theme ...
0
votes
1answer
134 views

functions.php not working after moving

I just migrated my site from localhost to live server. But it seems like a new installation, my custom post types, taxonomies are not there. The pages and posts i had are still present. ...
0
votes
0answers
24 views

Loop not appending through infinite-scroll ajax call

I'm having trouble debugging why the InfiniteScroll jQeury plugin isn't loading more of my .boxy class items. So far I've placed the div containing the selectors in different levels of heirarchy, but ...
-1
votes
0answers
21 views

Hyphens are causing a blank result

I'm having issues with hyphens in my slugs from a tutorial I'm trying to go through... http://wp.tutsplus.com/tutorials/theme-development/create-a-quicksand-portfolio-with-wordpress/ and I'm having a ...
0
votes
0answers
6 views

Search box disappears when clicked [migrated]

I have a sliding image panel that uses $('input').click(function() { $(this).parent().slideUp(); Unfortunately the input part on the sliding panel causes the search box at the top of the page to ...
1
vote
1answer
226 views

Ajax pagination works only first and third time

I'm using ajax-based pagination, heres the markup <div id="portfolio-thumbs"> <ul id="portfolio-destaque"> HERE GOES MY LOOP AND CONTENT , some LI's with thumbs and stuff ...
0
votes
1answer
64 views

Lightbox popup on WooCommerce add_to_cart action

I would like to create a modal 'pop-up' window in WooCommerce to appear when the "Add to cart" button has been clicked. This has to occur after the WC actions that actually add the product to the cart ...
0
votes
0answers
32 views

Creating a costing calculator plugin. How can the user create the calculations without coding?

I am relatively new to php & wordpress development. I am trying to create a plugin that allows the user to create an unlimited number of costing calculators. Users will be able to add fields ...
0
votes
1answer
371 views

Pirobox Gallery from single image link

I need to have the post thumbnail image link to a gallery of post attachements displayed using pirobox. This is the code i use: <?php if(has_post_thumbnail()){?> <div ...
0
votes
1answer
35 views

How to change links in the 3 main categories, on widget category, to a javascript function call

I'd like to know.. How could I change my 3 main categories links, so they call a javascript function? I'm using Snapshot Theme from WooThemes. Here's the current state of the website: ...
0
votes
2answers
3k views

Firebug says jQuery is loaded but $() and jQuery() are not defined

I'm trying to test my wordpress page with some simple jQuery script but it won't work. I've loaded the script with wp_enqueue_script('jquery'); in functions.php as explained in the wordpress guide ...
0
votes
0answers
6 views

Full responsive background image [migrated]

I try to understand how can i do the full background image responsive. at first i am using jQuery Anystretch. The code. functions.php wp_register_script( 'jquery.anystretch', ...
0
votes
0answers
18 views

videopress videos are not displayed when loading the content with ajax in a lightbox

I'm using videopress and I'm adding the videos into posts with the videopress shortcode, and when I visit the post I can see the videos and play them, but the problem is when loading the post with ...
-1
votes
0answers
17 views

Using jQuery to modify CSS: Not Working Consistently [closed]

I am building a custom child theme built on the Genesis Framework and I am enqueueing a jQuery script that calculates image bottom margin based on the height of the image (only in the “diary” ...
0
votes
0answers
23 views

Embedding Separate YouTube Players for Each Video in a YouTube Playlist?

I've seen a lot of plug-ins and things that make new posts out of each video in a playlist, but I'm trying to figure out a way to grab all videos from a playlist and list them as separate YouTube ...
1
vote
1answer
22 views

Make parent category not selectable when it has child categories

I'm trying to find a way of disabling the selection of the parent category within Wordpress 3.5.1 (post editor screen) only when that parent category contains child categories. My structure: ...
0
votes
1answer
149 views

infinite scroll page number

On this guys blog he's using infinite scroll and it's appending the page number to the url so when you click on a story and go back, you start off where you were. http://alex.clst.org/dbd/ I'm using ...
0
votes
2answers
50 views

Pull GetOption() variable into jQuery dynamically created html

I have a page with the following markup in the site theme footer: <div id="modalpopup"><div id="inside"></div></div> I have a variable in the WP db I can retrieve via ...
-1
votes
0answers
39 views

Isotope and query_posts

I'm experiencing an issue with Isotope jQuery and the Sampression theme. I'm using a simple query_posts on my index page to view only one category. It works fine at the first view, but when I click on ...
-1
votes
0answers
29 views

Responsive Slideshow plugin [closed]

I’m searching for a Slideshow plugin where I can configure the appearance of the next and previous elements like in the attached screenshot: Or maybe you have some good workarounds or ...
0
votes
1answer
17 views

Blip Slideshow plug in Mootools/jQuery conflict

This particular site uses the Blip Slideshow plug in (because it's fed by a Picasa web rss feed) and also a jQuery powered slider. The plug in inserts the Mootools script links ahead of the jQuery ...
0
votes
1answer
312 views

Converting a working AJAX form to work with Wordpress

I have a working html form with jQuery validation and have been submitting the data with AJAX, I am now trying to copy this form in to my own Wordpress theme, but I can't see where I am going wrong in ...
-1
votes
1answer
25 views

jquery: cycle + touchwipe [closed]

I have a Wordpress site that uses WPSHOWERS Sight theme. There's a slideshow on top on the opening page that I presume uses the cycle js, which I would like to make responsive to touch (so you can ...
0
votes
1answer
129 views

Plugin admin page meta_box toggle and order state not saving

I can't get the toggle state and open/close status of meta_boxes on my plugin admin page to be stored. The ajax response is always 0 I'm using meta boxes to hold sections of menu for a plugin. ...
2
votes
4answers
2k views

Wordpress and isotope filtering

Im trying to use Isotope(http://isotope.metafizzy.co/) to filter my Wordpress posts, http://i44.tinypic.com/fco55k.jpg this is how my site looks like, i would like to filter posts depending on a post ...
0
votes
1answer
407 views

Get selected value with PHP and jQuery

I have form that i'm using to update user profile from front end and i have country select. <form method="post" id="adduser" action="<?php the_permalink(); ?>"> <select id="te" ...
0
votes
1answer
123 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
130 views

Override theme style with other CSS on a specific page

The wordpress theme I bought has some jQuery UI styling included in its default CSS file. The problem is I have a plugin that uses jQuery UI and the theme's default CSS makes the plugin corrupted. I ...
0
votes
2answers
37 views

Enque Javascript in Footer?

I currently enque jQuery like so - how do I move this to the footer instead? // Enque: jQuery if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); function my_jquery_enqueue() ...
2
votes
2answers
156 views

How Do I Use jQuery UI In My Plugin

It's a sad day in the world when I Google something and it returns nothing. I am trying to use the default datepicker (or ANY datepicker at this point) and am unable to because of my lack of ...
0
votes
0answers
18 views

Settings- API: Creating setting fields on-the-fly

In this tutorial about how to create a settings page, the author creates a select element with style display:none. <li class="front-page-element" id="front-page-element-placeholder" ...
0
votes
2answers
181 views

How do I make my wordpress post appear in a mouse hover preview?

Mouse hover previews usually only show title and image. Instead, I want the entire wordpress post to show. The code that calls the preview is this: adTitle = jQuery(this).find('img').attr('alt'); ...
0
votes
2answers
75 views

Custom search: Search posts but display parent page in results

I'm using Wordpress 3.5.1 with a modified twentytwelve theme. My main site structure is based on the Smooth Slider plugin (jQuery Cycle). I have Pages that contain only a shortcode (for example, ...
0
votes
1answer
30 views

WooCommerce - PrettyPhoto appending URL with #prettyPhoto

For some reason the PrettyPhoto script that WooCommerce is now using is adding #prettyPhoto to the end of URL's once it's been opened in that page. See here for an example Also, when you close the ...
-1
votes
0answers
34 views

jQuery doesn't working [closed]

I completed a WordPress theme (used xampp as local server) so I installed it on my server. jQuery works fine locally, but only one script works on my server. The truth is I could use less javascript ...
-1
votes
0answers
35 views

jQuery script gives 500 error [closed]

As I was testing my own code with Chrome Developer Tools, it started reporting that <script type='text/javascript' ...
0
votes
1answer
43 views

Why is ajax working on one server and not the next?

I have some script that works on my dev server but not on my staging server: add_action('wp_head','get_gz_info',30); function get_gz_info(){ ?> <script ...
1
vote
0answers
23 views

Bypass nonce value while trashing a post

I want to move a post in trash but the condition is that simultaneously I need to delete some more posts. Sample Code: jQuery(function($) { $('#delete-action a').unbind(); $('#delete-action ...
0
votes
0answers
25 views

get_option include <br /> in my adsense

As title said I saved in wp-options -> option_value a adsense code but when I try to display to website in the code I get some "<script type=\"text/javascript\"><!--<br ...
1
vote
1answer
578 views

Intergrating agile carousel to wordpress: how to write the ajax_callback function

json is totally new to me how to write an ajax_callback function for agile carousel to work in wordpress? Below is the jason data format that I need to write as php arrays for it could be parsed by ...
0
votes
1answer
241 views

How to make featured image thumbnails on index page load smoother?

I'm using a theme called Hatch Pro, which is a gallery based theme and the index page displays the posts using the featured image. You can see it here. On slower browser environments, the images ...
-3
votes
0answers
26 views

WP 3.5.1 Causes jQuery TypeError in jquery.js below 768px window size [closed]

I've got a pretty interesting issue here. As the title says, the 3.5.1 upgrade (from 3.4) causes a TypeError in jquery.js, but only below window sizes of 768px wide. Uncaught TypeError: Object ...
0
votes
0answers
61 views

Advanced Custom Fields and Select2 or Chosen jquery

I'm using "Advanced Custom Fields" plugin and I'm trying to use Select2 or Chosen with the post_object field to provide a nice interface for a multiselect. The only documentation I have found is ...
0
votes
0answers
76 views

Sorting UL Listing Within the TinyMCE Visual Editor in Wordpress

I am trying to use jQuery sortable within the TinyMCE Visual Editor in WordPress. I have had some success in that I can get a UL list to sort, but only if I drag the mouse OUTSIDE of the actual ...

1 2 3 4 5 14