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
1answer
1k views

Using JQuery to check for Rel Attribute of Image before Overriding It

My Wordpress theme (when enabled) overrides the rel value of the link of all images with rel="lightbox" using the following code: http://pastebin.com/Bsh739QY How can I edit the JQuery to check for ...
0
votes
1answer
537 views

Using jquery-1.7.2.min.js instead of the wordpress jquery

I have been trying to deregister the wordpress native jquery and use my version that i have downloaded.At first everything was working fine with the wordpress resident jquery albeit replacing $ with ...
0
votes
1answer
95 views

including jquery

I know that wordpress ships with jquery. I have built my site first in html and every script that I have running in the html version works fine running version 1.4.2. I included this same jquery ...
0
votes
1answer
339 views

Custom theme, contact form 7 & fast secure form doesn't work

I have problems with the plugins CF 7 & FSF. When I paste the code [si-contact-form form='1'] for FSF I get the result of the code "[si-c..." itself when I load the page instead of a form. I ...
0
votes
1answer
280 views

jscrollpane problem with my child theme

i am trying to use jscrollpane , but i tried everything , its still not working this is my function page <?php /** * Custom Child Theme Functions * * This file's parent directory can be ...
0
votes
1answer
380 views

Jquery Theme Roller to Wordpress

How can you load a custom made Roller Theme for Jquery ui to wordpress? I recently created and downloaded a new theme for the datepicker, but can't get it loaded. I tried adding the css file to my ...
0
votes
1answer
358 views

Customizing the Jquery Calendar [closed]

I have never used Jquery before so I am quite stuck. The datepicker calendar that gets displayed is not quite what I am looking for, so I am looking to customize it, but don't even know where to ...
0
votes
1answer
2k views

Using AJAX to run SQL statement and populate dropdown

I am trying to create a search where the user selects two different bits of data from the database and it then prints some results that meet requirements. I know I need to use AJAX, or something ...
0
votes
1answer
390 views

Loading scripts on specific pages using PHP in footer.php

I'm trying to load scripts only when needed on a particular page. I've got the following in my footer, but am struggling with the 'is nots' and also chaining the PHP together in an else if statement ...
2
votes
0answers
893 views

“Uncaught SyntaxError: Unexpected token <” in load-scripts.php [closed]

Out of curiosity, I'm implementing AJAX in saving post. I didn't know where to start until I found this Q&A. It looks something I can grab and build on. It works but something on the Wordpress ...
-1
votes
1answer
194 views

how to display post in jquery slider and carousel

ok I'm pretty new to wordpress and the codex seems too complicated for a newbie like me. My homepage has both a slider(which I want it to display 5 latest post) and a carousel(which should display 4 ...
-1
votes
1answer
939 views

Theme using masonry layout script rendering overlaped images in Google Chrome [closed]

I have a WordPress theme built with Masonry script , I added a new template file for list gallery, is working ok in FF and IE but in Google Chrome gallery images (inside containers) are overlapped. ...
-4
votes
2answers
677 views

can't make jQuery work (change image on time interval) [closed]

I don't get it why jQuery function is not working. I read on the interned how to load jQuery in wordpress, but with no success. Can anyone help me? What I did so far: I've put this in header.php ...
0
votes
1answer
419 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 ...
1
vote
1answer
467 views

wp_enqueuescript won't load in footer even with true value set?

Below is my code for enqueue my scripts and css. I am trying to get the JavaScripts to load in the footer of my site, but when I view source I see them loading in the header. I suppose the "true" ...
1
vote
2answers
2k views

Enqueue jQuery in WordPress

Building my first theme from scratch in Wordpress 3.4.1, I know Wordpress already has the latest version of the JQuery via Google. I have read about issue's if the script is not called properly, so ...
1
vote
0answers
134 views

How does Wordpress handle HTML Tables interaction with jQuery

I have javascript that gets the width of a table and reduces the css fontsize of text within the table until the table width is less then the width of its parent div. The code bellow shows the ...
1
vote
0answers
164 views

Dukapress jQuery(“form.product_update”).livequery is not a function

I have a wordpress site running Seduction theme and Dukapress. Once you add a product and reach the checkout page, the payment and discount button is not clickable. Chrome/Firebug throws the error ...
0
votes
2answers
2k views

WP_enqueue_script() loads them always in wp_footer()?

This is my example code placed in functions.php: function my_init_method() { wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-core', false, array('jquery'), false, false); ...
1
vote
2answers
890 views

jQuery in Wordpress - Why is it not working?

I am using this as my starter template: www.html5reset.org/ It's pretty nice, but I believe something is wrong with jQuery in there. In the functions.php it says: // Load jQuery if ( ...
0
votes
2answers
2k views

Getting jQuery AJAX to work in Wordpress (getting -1)

I am trying to figure out how to use jQuery $.ajax() for a project. I setup this test using what I learned from TutsPlus.com. Everything seems to be working correctly except I am getting a -1 ...
0
votes
1answer
534 views

Wordpress Menus - How to add inline styles to UL menus

I've just converted my HTML version of a theme over to Wordpress, and I'm currently converting the dropdown menus over. What WordPress processes: <ul class="dropdown"> <li ...
0
votes
1answer
472 views

How to add custon UI jquery & Fancybox script to WP

I have a javascript that uses jquery objects to do a number of things first it finds images that are in a table adding these to a Fancybox gallery. This gallery has the Helper buttons allowing the ...
0
votes
1answer
506 views

wp_register_script Question

I need to add the following JS to the head, but I don't know how to add the "data-cfasync="false" " by using "wp_register_script" or "wp_enqueue_scripts". Please help!! <script ...
0
votes
2answers
1k views

url - ajax loaded but no JS

I have this url to call the taxonomy.php by pressing the button with the code beneath to show filtered posts: http://myurl/?meta_key=post_views_count&orderby=meta_value&order=ASC This is ...
1
vote
1answer
86 views

Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?

In WordPress, are there any supported 'script plugins', Classes, and/or a WordPress function that will allow a plugin to use to export/import its own data from the database to a txt/json file? A way ...
0
votes
2answers
175 views

Would to use AJAX to get an option from the database and use it in a jquery setup or is there an alternative to consider?

I have a slider in my theme. I have a setting in the options which controls whether that slider is set to "slide" or "fade". This slide/fade setting is in the jquery and of course the options setting ...
0
votes
1answer
332 views

Custom Jquery in admin breaks media-upload script

I have this part of code which loads custom version of jquery wp_deregister_script('jquery'); wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, ''); ...
0
votes
1answer
333 views

problems with jquery external rss feed integration

Iam using an external file (feed_home.php) wich is loaded with AJAX onclick. $(document).ready(function(){ $.ajaxSetup({cache:false}); $("#new a").click(function(){ var ...
1
vote
0answers
719 views

How do I locate the exact location where this error is occurring 404 page not found

I recently installed a wordpress theme and lots of plugins. This error appears on blog post after refreshing page for second time anywhere in between the post content. Here's the link to my site: ...
1
vote
0answers
228 views

jShowOff not showing numeric links, shows 'undefined' instead

I made a content rotator with jShowOff in a wordpress site, and wanted to have numeric links to each slide, that normaly comes by default but somehow shows 'undefined', the only thing i found on the ...
0
votes
1answer
976 views

Add mark-up after/before link in wp_list_categories

This is probably a trivia question, but I can't seem to find a simple solution. This is my wp_list_caterories php... <?php wp_list_categories(array( 'orderby' => 'name', 'show_count' ...
2
votes
2answers
3k views

jQuery UI AutoComplete not working in wordpress?

To use jQuery UI AutoComplete, I loaded the following scripts: wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-widget'); ...
1
vote
0answers
361 views

How to reload a select box of posts dynamically?

I'm using custom meta boxes for a project. I have created a custom taxonomy (select box) and I have another select box populated with Posts. I need to only load the posts based on the selection of the ...
1
vote
1answer
361 views

Load jquery only for certain pages in the backend

I have a set of custom theme settings in my functions.php file. In order to arrange some things I want to load jquery ONLY to my functions.php file. What I read in wordpress is this: If it was ...
0
votes
1answer
448 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
vote
0answers
1k views

Filter wordpress post categories with jquery/ajax and pagination?

Currently I have a website working with Wordpress and Jquery Quicksand (http://razorjack.net/quicksand/). However I don't want to show all posts at the same time. I wish to show e.g. 6 posts and then ...
0
votes
1answer
374 views

filterable portfolio with wordpress and jquery

I used this tutorial in creating portfolio page: http://wp.tutsplus.com/tutorials/creating-a-filterable-portfolio-with-wordpress-and-jquery/ I am working on Thematic child theme: ...
0
votes
1answer
1k views

Using the loop to set locations for all posts on a single google map

Firstly, hi all! I am new to worpress stackexchange. I have been trying to build my own google map to show the location of all my posts. But I don't seem to be able to get the markers to display on ...
1
vote
1answer
589 views

Javascript stopped working [closed]

For some reason, the scripts that I have set up on my wordpress install stopped working yesterday afternoon. I had been editing things, but I'm not sure what I could have done that caused it to stop. ...
0
votes
1answer
605 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
2answers
90 views

how to call jQuery in admin as well as in homepage

I have this jquery code inside my wordpress admin page that checks if the input value is empty. $j(function(){ $j('form').submit(function(){ var link = $j('#input').val(); if(link == ''){ ...
4
votes
1answer
1k views

Automatically decrease font size for long words

I am working on an e-commerce site in which post and product titles will need to be displayed in fairly narrow divs. I would like to set a specific font size for words which can naturally fit in the ...
2
votes
1answer
1k views

Bulk Image upload and one image for each post?

I have around 3000 photos, want to upload on WordPress. Is there any way to bulk upload all the photos as one image for each post ?
0
votes
3answers
120 views

Do all wordpress themes a similar class name for content?

I was wondering if all wordpress theme have a similar class name for the content.. For example I know the class for post/content in the twenty ten and twenty eleven is .entry-content if not then ...
1
vote
2answers
196 views

Why $ for jquery doesn't work?

I used the following to enqueue jquery plugins: <?php function my_scripts_method() { wp_enqueue_script( 'custom functions', get_template_directory_uri() . ...
1
vote
1answer
3k views

force enqueue script to be first in order of prominence

I have a few scripts which are being enqueued, the problem is that I want to force the order of prominece to which these scripts are loaded. There is one in particular which is loaded from a plugin ...
2
votes
1answer
84 views

What is the difference between these two methods of writing $ instead of jQuery in WordPress [closed]

What is the difference between these two methods of writing $ instead of jQuery in WordPress (function($) { // $ Works! You can test it with next line if you like // console.log($); })( jQuery ); ...
1
vote
1answer
1k views

How to put JQuery/Ajax inside shortcode?

The purpose of this plugin is to create a list that users can modify with up or down votes. The shortcode is supposed to display the list on a page and use JQuery to fadeIn and fadeOut while updating ...
6
votes
2answers
5k views

Enable Submit Comment Without Page Reload (Using Ajax)?

When user writes a comment and hits the submit button, WordPress reloads the page, before the comment is shown to the user. Is there an Ajax-based solution that allows users to submit questions ...