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
vote
1answer
344 views

combining js scripts from a js newb [closed]

I've got a small .js file on my wp site where I have been adding in all of my small js scripts. It works perfectly, but I am stuck trying to figure out how to add in another script. So far jslint does ...
1
vote
1answer
19 views

Format numeric symbols in titles

When I add title post as: this - is - post I view code source : this – is – post How to format code source as: this - is - post Error: I'm user jQuery UI autocomplete code ...
1
vote
1answer
40 views

Enqueue Wordpress jQuery after it's been deregistered by a plugin

I'm looking after a Wordpress install that makes use of a plugin that deregisters jQuery and replaces it with it's own ancient version. I'm aware of why loading your own jQuery is irresponsible and ...
1
vote
1answer
30 views

Not sure if enqueuing js scripts properly

When I put this code right above the closing of my body tag it works, but when I try to enqueue it, it breaks. I'm thinking maybe jQuery isn't getting called? The snippet is from here FUNCTIONS.PHP ...
1
vote
1answer
156 views

Enqueue Google CDN jQuery in Footer

I'm trying to enqueue jQuery from Google's CDN and have it called in the footer rather than the header of my theme. Here's my code: wp_deregister_script('jquery'); wp_enqueue_script('jquery', "http" ...
1
vote
1answer
1k views

Fancybox Object has no method error

I already searched related question but most of them are duplicate jQuery lirary, My problem is different coz the website load only one jQuery Library, I am using fancybox for this page's play video ...
1
vote
1answer
135 views

Best approach to fetch data from wp options to js file or php file

I am creating my first ever plugin, as I am not a programmer, I have been following tutorials and reading the codex, etc. My plugin consist in showing a notice to users when certain conditions are ...
1
vote
2answers
115 views

ajax, right way to do it and make it works?

I'm new to wordpress but have knowledge in php and javascript. I read a lot of blogs about ajax call in wordpress. I also read some posts on this forum. However, I still have some difficulties making ...
1
vote
4answers
175 views

Add a class to posts in increments of 2

Is it possible to add specific classes to posts/pages in a query in increments of 2? For example Post 1 Post 2 Post 3 (add custom class) Post 4 (add custom class) Post 5 Post 6 Post 7 (add custom ...
1
vote
1answer
350 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 ...
1
vote
1answer
362 views

WP_Query with ajax handler returns the same posts

I have a problem that is getting me bald atm. I have a ajax call that handles a loop that handles some querys and returns posts for me. So far so good, but the first time the user sees the page we ...
1
vote
1answer
126 views

Unwanted content in website title

I use "anythingslider" jquery plugin to animate some html content in my wordpress theme. and i use this code in header.php to show title: <title><?php bloginfo('name'); ?> <?php if ( ...
1
vote
1answer
111 views

Category pie diagram meta box in post editing page

I am trying to build a plugin for showing a pie diagram based on the number of those categories which have maximum posts. This diagram is a meta box in post editing page. Here is my source of ...
1
vote
1answer
268 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 ...
1
vote
1answer
460 views

Arrange custom fields with drag and drop?

I am making theme for hotel and i made custom metabox with list of various custom fields that i would need in posts. What i did is i made a list of fields like booking wifienabled coffe pool spa ...
1
vote
2answers
377 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 ...
1
vote
1answer
33 views

custom changes removed after plugin update

Ok that's something normal, files are being downloaded again and the code changes. What should I do if I don't want some changes to take place? For example a gallery plugin I use recently updated ...
1
vote
1answer
488 views

Adding a slider captcha to the comment system

QapTcha is a draggable jQuery captcha system. I have been trying to create a plugin to make it work on the Wordpress comment system. I found a plugin that is already doing this but it is outofdate and ...
1
vote
1answer
59 views

Ajaxify calendar

I need ajaxify "next" and "prev" links in wordpress calendar for navigation of months, without updating the page. There is some plugins for this - but I call calendar without using widgets - ...
1
vote
1answer
617 views

Error when posting comment form: The error is TypeError: e[h] is not a function

I am getting an error when the function below posts the form (from the second time, the first time it is blocked). When I click the submit button after this, the form submits without problem. The ...
1
vote
1answer
266 views

Script for initializing JQuery Masonry for Wordpress

What is the different between this (http://pastebin.com/PX0YB0hy) and (http://pastebin.com/VBqiMHVQ) for JQuery Masonry. Why does the first one work and the second one doesn't. In both cases I used ...
1
vote
1answer
83 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 ...
1
vote
1answer
755 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 ...
1
vote
1answer
203 views

Wrap the widget content with a div and get the widget title outside? [closed]

In this subject you can wrap a widget with the title outside but if you don't want a title, a <div> will not be closed, and the template is broken. So I would like to do this in jQuery instead ...
1
vote
2answers
310 views

Plugin for a text modal box [closed]

I have a contact form with "Accept Privacy Policy" check box. I need to add a link, that will create a modal box displaying the privacy policy. Just like fancy box but for text. I was looking for a ...
1
vote
1answer
641 views

jQuery ajax call throws an HTTP 302

I'm trying to implement a jQuery Autocomplete where the Autocomplete gets its data from a ajax source. However, for some reason when I make the call it results in a 302 which in turn results in a 404. ...
1
vote
2answers
731 views

Multiple jQuery conflict unsure of why

I am trying to use the same image fader in two different spots on my testing site. The one in the top banner works, and the one in the furthest right sidebar kind of worksThey both now do not work. ...
1
vote
1answer
436 views

Update Loop with Form

I have a photo gallery I'm developing using WP as a means for content management. I'm relying heavily on some jQuery plugins to manage the UI styling and manipulation (via sorting). My problem is ...
1
vote
2answers
1k views

Implementing FancyBox

I am trying to implement fancybox into WP without using a plugin. I did some research and went over few examples but there is still an issue. Any help would be greatly appreciated. Here's the code: ...
1
vote
3answers
6k views

How to add a javascript snippet to the footer that requires jQuery

I know I can add a script file to the footer of wordpress that requires jquery using this code: <?php function my_scripts_method() { // register your script location, dependencies and version ...
1
vote
1answer
2k views

How I got jQuery Quicksand working with WordPress?

I have been tryin to make this plugin work but I failed badly. I have the code like below: The portfolio-terms is filtering buttons: <div id="portfolio-terms"> ...
1
vote
1answer
195 views

Can someone please tell me what is wrong with my plugin?

Two days back a made a plugin that allows me to insert toggle box in to the post with the shortcode [toggle Title="My title"]toggle test[/toggle] I also posted my plugin on WordPress.org plugins ...
1
vote
1answer
383 views

Error with Image Slide plug-in/ s3slider in WP

I'm using Wordpress Version 2.8 (Can't upgrade where I work); and I used 'Emerald Stretch' theme as the basic bone structure of what I'm developing. (Which ultimately will be a responsive wordpress ...
1
vote
1answer
499 views

How can I make this custom menu work?

Can someone share with me the easiest way to convert this to work with wordpress’s 3.0 built in menu support. So far I have the topnav menu working correctly, but I’m having a hard time getting the ...
1
vote
1answer
590 views

Best Wordpress Slider Plugin for HTML and Images

I want a simple to use slider for the home page of the website I have played around with a bunch of plugins and nothing was really suiting my needs or easy to deal with. I would rather not spend the ...
1
vote
1answer
1k views

Trying to remove duplicate jquery scripts

I've added this <?php wp_enqueue_script("jquery"); ?> before <?php wp_head(); ?> so that I can just use the wordpress included jquery script, and deleted the extra jquery script I've ...
1
vote
1answer
306 views

Using Fullscreenr with a wordpress blog - weird bug

I'm wondering if anyone here has used the jquery plugin 'fullscreenr' with a wordpress theme before. I've noticed a weird bug that I'm sure anyone who has used this before for a wordpress build would ...
1
vote
1answer
511 views

ajax in wordpress - path issue

am trying out a bit of ajax ( via jquery ) in wordpresss. ... i have everything working correctly but for some reason i have to have the full url to the php handler file even though it's located in ...
1
vote
1answer
81 views

Remove Wordpress Scripts

I am working on a custom page template in my theme, i want to remove all other styles and scripts which are loaded, like default theme style, jquery & other scripts, i want to remove all for the ...
1
vote
2answers
395 views

Displaying div from custom-post-type in Fancy Box

First of all, I have posted a very similar question here: Displaying custom post-types in a Fancybox div and then linking to them However, after being unable to find a solution I have taken a ...
1
vote
1answer
750 views

Custom Theme Design: do I need to “enable” jquery/javascript libraries?

When I build a theme from scratch I have to "enable" sidebars and specific menus in the functions.php. Similarly, do I need to "enable" access to the javascript and jquery libraries that come bundled ...
1
vote
1answer
361 views

Is there a way to set the default active tab on Post UI Tab pluggin?

We've started using the Post UI Tabs pluggin but would like to be able to arbitrarily set the tab that is active when the page is loaded. For instance, in one example, we have a three-week process, ...
1
vote
1answer
1k views

jQuery is not defined

jQuery is not defined When I try to edit a post, rearange categories the "jQuery is not defined" keeps poping up in firebug. But If I change my theme to another it allows me to change the categories ...
1
vote
1answer
1k views

NextGen plugin check failing, why?

No matter what I do, I can't seem to get the NextGen plugin check to work. The plugin used to work but now won't load at all. I get this error on the plugin check: Check theme compatibility Missing ...
1
vote
2answers
238 views

looking for navigation plugin (accordion)

does anyone know if there's a jQuery-navigation plugin with accordion animation which can be auto-applied to the wordpress default navigation? it should also support marking the current item (+ also ...
1
vote
2answers
1k views

wordpress site | All-in-one-cufon IE Issue

I have a site where i'm using the All-In-One Cufon (Wordpress Plugin), but having some issues getting it to render properly in IE. The website: [removed] The Problem: It works fine so far in Firefox ...
1
vote
1answer
512 views

Plugin admin panel JavaScript Broken

I'm trying to implement this plugin on my live wordpress instilation: http://wordpress.org/extend/plugins/frontpage-slideshow/ I wouldn't usually ask a question about a plugin directly but this ...
1
vote
3answers
2k views

jquery UI in wordpress admin

Does anyone have experience with using the jQuery UI plugins in the Wordpress admin area? I´ve been trying to use the datepicker functionality in jQuery UI, but its conflicting with the built- in ...
1
vote
1answer
610 views

Controlling Taxonomy Category listings to hide and unhide specifics

I have a vertical menu using the superfish script that shows categories in a custom 'productcategory' taxonomy. This menu has multiple levels, and is hierarchical.At the bottom of each branch of the ...
1
vote
1answer
833 views

How can I load jquery library into my dashboard widget?

I'm attempting to use wp_enqueue_script('jquery') to load the builtin WP jquery library but my jquery functions aren't working when I do this. Only when I hardcode a reference to the script do my ...