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

-6
votes
3answers
262 views

Jquery Slider for profile template

I want to show the posts under a category in my page.The first 5 posts should be shown when the page loads and When the user clicks the next button/link next 5 posts should be shown. Currently I show ...
0
votes
1answer
57 views

Create a short code that inserts js

Note: People are assuming this question is already answered when in fact it is no where close to being the right answer. I have created tons of short codes, How ever I am using Jquery plugin TOC and ...
0
votes
1answer
67 views

WordPress Theme - jQuery JavaScript Library Issue

I am having some issues with a couple of plugins which use jQuery/JS i.e. cookie control and a picasa photo gallery. The theme I am using is quite basic and comes with no sliders etc with moving ...
0
votes
1answer
122 views

'jQuery is not defined Error' appearing in load-scripts.php

I'm writing this question having already found a solution, in order to see whether other people have encountered this problem. I was having a problem on the back end of a site I am building in ...
0
votes
0answers
19 views

Loading custom post type posts with jquery

I have a custom post type app and wanted to load all it's posts by taxonomy android into the div id post using jquery. Is there a way to do this? Please help.
0
votes
1answer
154 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. ...
0
votes
1answer
92 views

force jQuery to load in the head

I've written a plugin which uses wp_enqueue_script("jquery"); to load jQuery. I need to load jQuery in the head and not at the bottom of the body. However, I think that this command is overwritten by ...
1
vote
2answers
373 views

Call the content of a page in AJAX in Wordpress

Out of Wordpress, I've made a simple index page wich call the content of 10 other pages thanks to AJAX. Now I need to put this into Wordpress and the AJAX calls don't work at all. I have created the ...
0
votes
1answer
63 views

How to prevent Wordpress from loading the jQuery library at the top of the page

I am developing a site that must be HTTPS secure and Wordpress is loading <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> at the very top of my page, before <html> ...
-2
votes
1answer
71 views

WordPress and jQuery [closed]

I am fairly new to using jQuery in WordPress and I am trying to write jQuery scripts in a separate file. What is the difference between the following two syntaxes of setting up the external file: ...
1
vote
1answer
55 views

How do I rebind event after widget save

I am writing a widget who's form elements have a click event attached to. I bind it using jQuery. However, after clicking save, the bindings gets lost. That is, clicking those elements doesn't ...
0
votes
0answers
27 views

Only allow customize partial of the email address when register / edit in the user profile

I can not find a fitting answer online, so I need to see all the pros in here for a favor. I am thinking about only allow user to edit partial of the email address when register, but I do not know if ...
0
votes
1answer
518 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" ...
1
vote
2answers
53 views

jQuery breaking my wordpress site

I am including jQuery in my header.php file like this: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script> But when doing this, it breaks my home page ...
0
votes
0answers
54 views

Customizing a php generated link

Good Day I am using Wordpress, and I am using a breadcrumbs plugin (Breadcrumb NavXT). Now it works great, exept that I would like to customize the way it links to a specific link: Now here is the ...
1
vote
1answer
276 views

jQuery Ajax() doesn't work when the page is accessed as a WordPress template page

In one file (test_ajax.php) I have a which on change loads another page (registration_form_race_type.php) with a short message via jQuery Ajax(). It works fine when "test_ajax.php" is accessed via its ...
0
votes
0answers
253 views

Loading content dynamically using jQuery.load

So I am working on a website for a client and they want a tabbed content area. Without loading all of the queries on a single page, how can I go about doing this? Right now I have the following for my ...
-1
votes
0answers
162 views

Simple Jquery custom post type archive slide toggle

Hi I'm not sure if we deal with jquery in this section but as it is wordpress related I will ask anyway. I am currently have an custom post archive that displays all posts(li's) in a month(ul's). I ...
0
votes
1answer
105 views

Move jQuery to the bottom of the page whilst keeping the WordPress jQuery

I wish to move jQuery to the bottom of the page on my theme, to speed up loading times. Previously I was doing this by replacing it with Google's CDN version but I have been told that is a bad thing ...
0
votes
1answer
130 views

Removing jQuery from footer

I am working with HTML5 Blank and I can't seem to get jquery to stop being called in wp_footer(). I have tried adding this to the bottom of my functions file: function ...
0
votes
0answers
51 views

Javascript not working on site

I've recently created my first wordpress site, and have installed it all manually. It's all working fine, except that none of the Javascript on the site works. I think this may have been corrupted ...
-1
votes
0answers
271 views

Jquery UI Autocomplete from remote source

I've used JQuery UI autocomplete in the past, with a remote php source, but now I'm trying to do the same in WordPress and have come unstuck! UPDATE I'm really close to getting this working, albeit ...
-1
votes
1answer
94 views

Some Shortcodes Not Working [closed]

I am using the Rebirth theme from Scheetz Designs. I'm trying to update my events calendar, as my current Ajax calendar does not look very pretty. I've tried to install both the Ajax Event Calendar ...
0
votes
1answer
231 views

How to setup a popup registeration page in wordpress with function.php

everyone: I wonder if there is existing tutorial on how to create a popup registration page in wordpress by utilizing function.php? or is there another way that can do with it? Thank you!
0
votes
1answer
226 views

JQuery load php - php file without the template

I'm about to start writing a php file that will return a JSON array to be used as a JQuery autocomplete source. I want to create my source.php file that loads without the WordPress template. ...
0
votes
1answer
54 views

Is there some jQuery conflict here?

I'm customizing a wordpress theme called Accordium, and I have decided to add infinite scroll to it using a wordpress plugin called pbd-ajax-load-posts. In the theme, when you click on a post in ...
2
votes
1answer
346 views

Installing jQuery plugin to wordpress theme (Incredible)

Ok so here is the plugin in question I'm trying to integrate it on the homepage of my wordpress theme (incredible bought from themeforest) After reading up on wordpress enqueue script and all that ...
0
votes
0answers
133 views

Good examples/resources for using a drop down for filtering jquery isotope? [closed]

I'm working on a plugin that uses jquery isotope and I've also built a widget that will handle the filtering using terms and taxonomies. What I would like is to have a drop down of terms of a taxonomy ...
0
votes
1answer
292 views

Override default jquery ui library with newer version

The latest version of jquery ui core fixes a bug that's on my site. The problem is that Wordpress comes with an earlier version. How do I override the default jquery ui core? One solution I've found ...
0
votes
1answer
399 views

Javascript block in Twenty Twelve theme

I am authoring a WP plugin, and I have to generate some JS (jQuery) code in "realtime". It is working fine in general, though I've stuck with one problem with the WP 3.5.1 and its default Twenty ...
0
votes
1answer
139 views

reorder a WP_Query, using a dropdown

I have the following loop used to display posts by category & I would like to to re-order them based on a dropdown selector if (!isset($qry)) $qry = new ...
0
votes
2answers
127 views

jQuery UI inside widget on admin page

I have created a widget that has quite a few settings, and so I am trying to create a tabbed menu (using jQuery UI) inside the widget settings of the admin page. The problem is basically that tabs ...
0
votes
0answers
43 views

Getting Uncaught TypeError with clashing text widget and tabs plugin [closed]

The code for the email subscription from constant contact that I put in my text widget up at the top of this page http://bit.ly/Zz4Faw is clashing with my Skinable Skins tabs plugin. When I remove ...
0
votes
2answers
413 views

Good solution for adding jQuery tabs anywhere within WordPress?

Is there any solution for using jQuery tabs within the native WordPress scripts? If you know of a way to get any method of jQuery tabs working on the frontend and the backend please share your ...
-1
votes
1answer
132 views

best way to communicate between php and jquery/javascript

I have a custom post type "pakket", in which I've put all kinds of data in the taxonomy terms. This custom post type has about 50 items, each with their own values for taxonomy terms. For example: ...
-1
votes
1answer
40 views

jQuery “on” handler does not fire on newly inserted widgets [closed]

I have a jQuery script attached to the widget.php page via an add_action('admin_footer') call. The jQuery executes fine on widget items that were in place when the page loaded. However, on newly ...
0
votes
2answers
35 views

Including Javascript options

For a Wordpress Theme I know javascript files (ending in .js) must be included using wp_enqueue_script in functions.php but how do I include additional javascript code, for example say I need to add ...
1
vote
1answer
139 views

Using Underscore Templates in WordPress

I've noticed that since WP 3.5 that we now have the Backbone.js and Underscore.js libraries included. The new Media Modal uses Underscore templates and I was wondering how would I be able to insert ...
1
vote
1answer
238 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
65 views

Thumbnail remove width & height function

I wish that when the browser was resized to below 980px, my images were width 100%. The container of the images already have 100%, the problem is that I'm using wordpress size code for thumbnails: ...
0
votes
1answer
124 views

Weirdness in jQuery supplied with WordPress

I've got a problem with the jQuery supplied with WordPress. The following HTML exhibits this problem: <!DOCTYPE html> <html> <head> <script ...
1
vote
1answer
156 views

How do I get my page to load the jQuery UI Effects library?

I'm using javascript for the first time to do some simple animations on the home page of my website. So far I have added the following to my header.php file (which is only used for my home page), ...
0
votes
1answer
198 views

change the icon of a custom post type in WordPress to use twitter boostrap

Using jquery, the icons of WordPress admin menu have been changed to use the twitter boostrap icons, done such as: jQuery('#icon-themes.icon32').replaceWith('<div style="font-size:22px;" ...
0
votes
2answers
136 views

My jQuery is enqueued properly. So why isn't it working?

I'm just trying to add a simple bit of Show/Hide jQuery to a child theme. $(document).ready(function(){ $("#openbtn").click(function(){ $("#openingtimes").toggle(300); }); }); I've saved the ...
0
votes
1answer
88 views

Showing All the Posts in the Loop

this code here <div class="col"> <?php gab_dynamic_sidebar('Subnews1');?> <?php $postnr = of_get_option('of_wn_nr8') + of_get_option('of_wn_nr8a'); if ...
1
vote
0answers
251 views

jQuery Plugin to use Wordpress functions in AJAX request

I'm using Chained Selects jQuery Plugin to create multiple chained selection fields. I'm using the remote version of the plugin to build the related options by means of AJAX request from a separate ...
0
votes
1answer
102 views

Search results load individual post in slide out div

Hi this is more of a solution and advice question. I want to search my wordpress site and load the search results in a very typical way (unordered list with title, image and excerpt). Upon ...
0
votes
0answers
110 views

Tabs don´t work on my theme [closed]

I have a tabbed widget here. It won´t work like should with jquery-tabs. Theme is "Sprout". It loads each tab under each other instead of just changing content. Javascript ...
1
vote
0answers
76 views

Post Comments with Ajax in Wordpress

I use this code to post comments with ajax on my WP blog. It works fine but I display the comment form on my homepage so the plugin only works for the first post (first comment form). I want it to ...
0
votes
1answer
271 views

chosen jquery library not loading - is not a function error

I am trying to load the chosen library: http://harvesthq.github.com/chosen/ I am enqueuing a .js file as below: wp_register_script( 'js_custom', plugin_dir_url( __FILE__ ) . 'js/jquery.js', false ); ...

1 2 3 4 5 15