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

7
votes
1answer
7k views

CSS not pulling in for jQuery UI dialog

I want to add a jQuery dialog modal to a form page. When the dialog box is triggered I see the the text content but with no CSS. I'm pulling in the jquery in the functions.php for the page: ...
0
votes
1answer
333 views

Ajax request with jQuery without WP_ajax

I try to made a website in full ajax (a html5 website). I use jquery and innerShiv (for ie). For exemple I want to load all the content of the "section" tag of a page. When I use that script, it ...
0
votes
1answer
1k views

How to alter the text of the post “Excerpt” box label in WordPress post editor?

My theme gives the site owner the option of using each post's "Excerpt" field to fill in the "meta description" tag for each page. It would be helpful if I can filter the text label and description ...
0
votes
1answer
589 views

WordPress/jQuery pagination plugin for multiple lists

I have 3 shortcodes. Each of them will be displaying a list. PS> the lists do NOT contain wordpress posts/pages. Is there any WordPress plugin that can achieve the purpose? OR Please suggest me a ...
0
votes
1answer
195 views

I am not able to enable jQuery in theme settings

I have tried to - enable Use jQuery & then save changes. But after saving changes, checkmark Use jQuery automatically unchecks itself. I am not sure whats going on. Please help me here.
0
votes
6answers
2k views

WooThemes PremiumNews Theme jQuery Conflict with WordPress 3.2

This morning I updated my wp, and after that few of the jquery of my site is not working. I am using woo themes premium newspaper theme. After the upgrade, the categories drop down menu(superfish ...
1
vote
2answers
508 views

Get current logged in user under 3.1, re: remove “Howdy”

I use this in functions.php to change "howdy" to "Logged in as...." But now under 3.1 I get "Logged in as Your Profile" rather than "Logged in as <current user>" What needs to be changed so ...
1
vote
1answer
178 views

Tags in Wordpress 3.2

Why I can't add tags since Wordpress 3.2 ?! Ajax doesn't seem to work... I gonna be crazy. Any help please ?
2
votes
1answer
2k views

Creating custom AJAX requests

My question pertains to where I should create an ajax function that I'd like to call from my page view. I am using a jQuery validator on a custom form that should check the inputted zipcode against ...
1
vote
1answer
2k views

Colorbox ajax loading of outside HTML content works perfect on localhost but not on server

I am trying to render content generated by a php file in [jQuery Colorbox][1] through AJAX in my WordPress site. The PHP resides on the same server in the same domain. It works perfect when I run it ...
0
votes
2answers
792 views

Why won't this jQuery code work?

Tearing my hair out a little bit here! I'm trying to create multiple image-selection boxes so users can upload as many images as they like to the species profile they've created. I'm using the ...
0
votes
1answer
219 views

Which hook to use when adding ajax to viewer-facing side?

I have a shortcode that contains a form. I want to use jQuery/Ajax for POSTing. For this, I want to add javascript to the page where shortcode is added? Which hook should I use? wp_enqueue_scripts ...
0
votes
1answer
862 views

Absolute path to stylesheet_dir/images/my_img.jpg does not work?

I am manipulating an img element in functions.php using jQuery by changing the src attr on hover. How do I make so the absolute path works? Currently, when I view the image directly in the browser it ...
1
vote
2answers
375 views

Can I make simple global tooltips in Wordpress?

We wish to have ALL external links within a Wordpress site have a simple mouseover tooltip without having to place a title tag or rel or class tag within it. I've tried several methods using the ...
0
votes
2answers
594 views

WordPress plugin admin page - using WordPress function in linked php file

Asked this question on StackOverflow and they directed me over yonder... nice place ya got here =) I've been developing a pretty simple WordPress plugin, and wanted to do some live validation of ...
5
votes
1answer
202 views

Help making my pagination plugin better

I'm not sure if this is the right place to ask for this kind of help since is not an actual question but hopefully I can learn a thing or two. I'm developing a plugin (my first one) inspired in the ...
1
vote
2answers
248 views

looking for navigation plugin (accordion) [closed]

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
1answer
325 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
758 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
83 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
1answer
516 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
898 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 ...
2
votes
1answer
841 views

WordPress plugin options and jQuery

I'm creating a plugin that uses jQuery to modify some css, but what I can't figure out is how you can control the execution of the jQuery with WordPress plugin options (like checkboxes true/false). ...
-1
votes
2answers
588 views

My .js file is getting a 404

I uploaded a few .js files, so my js folder is in the root (The same level as wp-contents). I have a few .js files, but I just uploaded the masonry library and when I try to access it via ...
1
vote
1answer
653 views

different template for first and second level custom post page

I have a custom post type, for examle, products. They can be multilevel, like pages, f.e., Products (custom post type) Books |- LOTR |- Sherlock Holmes |- Cooking help |- etc ...
0
votes
2answers
612 views

Jquery UI Google CSS, from where?

Here's the site I'm having problems with: http://www.ashleymosuro.com/newsite/about For some reason, my custom theme I created for the Jquery UI is being overridden by the google hosted stylesheet, ...
1
vote
2answers
4k views

wp_mail script with jquery post

need to send an email from a page when a form is submitted. Thought i'd use jquery post but not really sure where to start. Would i use wp_mail? And if so how could it be called ? Sorry if that ...
2
votes
1answer
2k views

Can't use get_results() in ajax query

I'm using a jquery ajax call to get certain data from wpdb and I'm getting the following message: <b>Fatal error</b>: Call to a member function get_results() on a non-object in ...
0
votes
1answer
317 views

How to show last comment on hover?

WordPress usually has "Leave a Comment, "1 Comment," or "% Comments" on the blog page, and I want people to be able to hover over that and have jQuery show the latest comment in a rectangular box ...
0
votes
1answer
911 views

Best way to add some custom javascript using jquery to a child theme

I use the default TwentyTen theme and I have made a child theme with some CSS adjustments, and that's pretty much it. Now I'd like to do two things Make the theme load the latest jQuery, and to ...
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 ...
0
votes
1answer
875 views

Problem Implementing parallax in header of bp-default theme

I'm trying to implement parallax in bp-default theme's header, but facing problem .... The page getting glitches, the adminbar is centre aligned but the rest of the content of the page is getting ...
0
votes
2answers
786 views

Delete some text and change html tag with Jquery

Im looking a way to change the following HTML: <div class="votes">Rating: <strong>+5</strong> (from 5 votes)</div> and produce: <div class="votes"><div ...
1
vote
1answer
218 views

Prevent users from adding taxonomy terms

I'm trying to prevent people from adding terms to some, but not all of my taxonomies. There are four taxonomies in a certain post type. I need to prevent people from adding to two of those. I used ...
0
votes
2answers
3k views

Wordpress Rotating Background Images

I would like to be able to create a rotating background image that resizes with the browser window. I would like to also be able to set a certain amount of images to rotate per page or at the least ...
1
vote
1answer
793 views

AJAX Contact Form Issue

I created a contact form for my sidebar that is working perfectly in Chrome but not in IE or FF. I've been staring at it for hours and can't find out what I did wrong. I'm not getting any errors ...
0
votes
1answer
420 views

Accept a-z and 0-9 (restrict a-z to be lowercase without accents like ñ or ó)

Using JQuery: While the user types, Im trying to find a way to restrict a field to only accept a-z and 0-9, restricting a-z be lowercase without accents like ñ or ó. <input type="text" value="" ...
0
votes
1answer
623 views

Toggle nested comments

I am trying to find a solution to toggle (hide/show) threaded comments. I need to see only comments 1,2,3 etc... and hide 1.1,1.2,1.3 etc... Clicking "show comments" will toggle and display the thread ...
1
vote
3answers
514 views

how can I make $ work in wordpress for jQuery?

I have a plugin I want to use, but it depends on the $ identifier, as apposed to using jQuery. Is it possible to enable the $, to save me recoding the plugin? EDIT The plugin automatically adds the ...
11
votes
2answers
2k views

pass object/JSON to wp_localize_script

I've got a working piece of javascript that contains an object literal. But I need to localize it, and I'm ytrying to figure out how to rewrite it so that I can get wp_localize_script() to accet it, ...
3
votes
1answer
4k views

How to make ajax call in wordpress in right way?

I am trying to using jquery ui tabs with ajax calls to run a function. Here is the code i am using: function ajax_load_user_feed(){ if(isset($_GET['type'])) $type = $_GET['type']; ...
-2
votes
2answers
518 views

Sliders with buttons [closed]

I'm looking for a slider plugin that allow me to insert additional buttons in a slider, not the next and prev neither numbers, I mean buttons to redirect users to a different page, etc... I would ...
0
votes
1answer
489 views

Nested Gallery Shortcode INTERMITTENTLY working

I have an Expand/ Collapse plugin which, via a shortcode, can expand/ collapse content. My expandable content is a shortcode of a gallery. See here: http://shop.dearearth.net/collections ...
1
vote
3answers
1k views

Best approach for loading a sidebar Only if the screen max-width is >900px?

I have been playing around with media queries quite a bit lately and I love the concept. It is so easy to display images or change div floats depending upon what the users screen max-width is. I'm ...
0
votes
1answer
115 views

WordPress plugin isn't loading completely

i m running a blog and having problems with some plugins. When I installed them they were running fine, but after few weeks-- I think after I updated my WordPress to 3.1.1, these plugins stopped ...
0
votes
3answers
381 views

Plugin - Make sure jquery is loaded in my settings page plus my JS file

I'm creating my first wordpress plugin and I'm struggling to find the correct and best way to make sure jquery and my own JS file is included on my settings page of my plugin. I do not need them to ...
0
votes
3answers
4k views

How to get the image-URL from Media-Upload in a post?

I generated a new MetaBox for all standard posts in WordPress 3.1. There I generate a input:text field with the ID _meta_fotos[pic], which should hould the image url generated by the standard ...
1
vote
2answers
653 views

Including jQuery in Wordpress

I am using the code below to include jQuery in my Wordpress installation. I was previous calling the jQuery file using the standard HTML script but this was causing problems with a Wordpress plugin ...
1
vote
1answer
2k views

Disable Jquery UI post tabs

Hey all, I'm using Jquery UI tabs with the WordPress Post Tabs plugin and it works like a charm. However, I'd like to auto disable or hide tabs that do not have any data. I've worked with Jquery quite ...
1
vote
1answer
681 views

Toggle Sidebar Display

I'm developing a WordPress theme that allows users to toggle the visibility of the sidebars using Javascript in the same way that wikis allow users to show or hide a table of contents. When a user ...