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
0answers
21 views

Comment Nav versus jquery Tabs

I have a page full of comments. These comments have 3 custom_fields assigned to it (using get_comment_meta): New In Progress Solved From my page I call the comments using: wp_list_comments( ...
0
votes
0answers
37 views

Add Media Button Stops Working After Publishing The Post

Add Media Button Stops Working After Publishing The Post. It works fine for the first time when I try to create a post or page. Once I publish the post, it stops working. It is not just Add Media, all ...
0
votes
0answers
192 views

Touch Punch and JQuery Accordion Menu Widget

I have been trying to figure out a way to enable touch events for the JQuery Accordion Menu Widget plugin (http://wordpress.org/support/plugin/jquery-vertical-accordion-menu); i.e. on a mobile device, ...
0
votes
1answer
64 views

How can I implement jQuery plugin correctly with my CPT?

I've tried making an area for client testimonials on my site but I'm having troubles with the jQuery plugin Unslider, which I've implemented. Here is the live site. - The slider is located in the ...
1
vote
1answer
158 views

JQuery plugin that works with Google 1.10.2 and not with Wordpress 1.10.2

I'm making a custom implementation of JQuery Colorbox in a Wordpress plugin. However, it's not working with my default Wordpress installation. After tinkering a bit, it comes down to the inclusion of ...
0
votes
0answers
45 views

Fancybox Iframe freezing before loading

So my wordpress fancybox iframe is kinda malfunctioning. When I click the link, the fancybox is triggered and a small rotating image shows and stops for a few seconds, then the iframe shows. Also, ...
0
votes
0answers
108 views

How to create page with lots of dynamic content(AJAX?)

I am setting up a Wordpress-homepage which has a lot of toggled content(sort of like this: https://jqueryui.com/tabs/). So for example I have a list of links on the left side, and a content-container ...
7
votes
3answers
236 views

How to modify image editor dialog options on WordPress?

I am trying to hide the Alignment radio buttons for images uploaded to the post content area, but can't figure out how to add a custom CSS or JS file to the Image Editor dialog. I've successfully ...
0
votes
1answer
212 views

insert query on a custom table using ajax with jQuery plugin Jeditable

I've read tons of post already but found no solution... I'm tryin to implement Jeditable functionality in a plugin with this code: jQuery(document).ready(function() { ...
0
votes
0answers
94 views

Calendar based on Codrops

I've been banging my head over this problem for more than a week now and just cound't manage to make it happen. Event though I know that it is possible. I'm building a calendar based on this plugin ...
0
votes
0answers
94 views

How do I call the dashboard's sortable javascript in a plugin page?

I want to create a multi-column sortable widget area in a plugin's settings page. In order to test this, I started by directly copying my dashboard's HTML content from <div ...
0
votes
0answers
89 views

Show different category galleries without page refresh using Galleriffic and Wordpress

I'm using Galleriffic in a WordPress site to display a gallery of images. The images belong in several different categories, and I want users to be able to filter by category via a submenu without the ...
0
votes
0answers
612 views

Setting a Gravity Forms Field using jQuery

Within my WordPress site, I have a gravity form single line text field that I am trying to populate on change of another field, which is a drop-down. I am trying to achieve this through the use of ...
0
votes
1answer
25 views

Is it necessary to use a WordPress nonce when allowing users to download public data?

I am using jQuery .load() to load the next page of WordPress posts after a button is clicked. The next page of posts is public data (no access restrictions on it whatsoever). Should I use a WordPress ...
0
votes
2answers
1k 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
2answers
970 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
1answer
121 views

Wrap posts p tags in div

I am trying to set up blog posts so that when an image is added it is wrapped in one div set to float right and when text is added it is wrapped in another div set to float left. So that all images ...
0
votes
0answers
45 views

Thumbnails to append content from database via ajax

Completely re-edited question: I am displaying music album covers as thumbnails in a page template. I would like to be able to click on an album thumbnail and pull the corresponding details for that ...
0
votes
0answers
38 views

Scripts only working on home page

I am using the following example code to enqueue several scripts.. add_action( 'wp_enqueue_scripts', 'my_scripts' ); function my_scripts() { wp_enqueue_script( 'jQuery-Main', ...
0
votes
0answers
56 views

Why does WordPress load jQuery in my header instead of footer?

Here's a site I'm working on... 198.1.77.196/~larog/ I've taken an older WordPress theme (Twenty Ten) and modified it to be my own theme. Anyways, the site isn't anywhere near done, I'm just in the ...
2
votes
1answer
1k views

jQuery plugin function is not a function

I'm having a problem I've never seen before. In a very new WordPress install, I uploaded a theme I had been working on for a friend's restaurant: CornerPocketPub.com The problem, as you can see, is ...
1
vote
1answer
2k 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 ...
0
votes
1answer
132 views

Using 'jQuery menu aim' for WordPress (Genesis) drop down menu

For this site I want to build a better drop down menu – under 'Data' on the top left – to access the site's content. The website is built using the Genesis theme. I would like to use Ben Kamens ...
0
votes
1answer
178 views

Masonry Append WordPress posts with singleMode

I'm using Masonry on a Wordpress site, to display posts from a custom post type (training_videos). As all the columns are the same width im using the singleMode = true option. The site is a ...
1
vote
2answers
465 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
0answers
780 views

Uncaught TypeError: Object [object Object] has no method 'dialog'

I have a project in WordPress. I am trying to implement dialog box popup on click of hyperlink. On click of this link, function shownm1() is called which is placed in .js file. The function contains ...
1
vote
1answer
94 views

Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1

I am attempting to install the image LazyLoad plugin with use on my Wordpress 3.3.1 blog. I have followed the basic instructions, so it is installed and activated on my development site. The ...
-1
votes
1answer
709 views

Infinite Scroll applied to ajax loaded content

I'm doing a WP_Query on let's say page-a.php, that page has a div called target where page-b.php is being loaded into. Page-a is a custom template and page-b is an archive page. The structure on page ...
0
votes
1answer
88 views

Is it OK combined wp-include js, jquery, css?

I have combined wp-include folder JavaScript, Jquery, CSS, jquery.ui, min.css and min.js files using W3 total. JS, jquery, jquery.ui and min.js files are combined and added before tag ( w3tc) with ...
0
votes
2answers
233 views

How to use jquery included with wordpress for jpanelmenu

I have successfully been using jpanelmenu in my wordpress themes for some time, loading jquery from the google api, like this: if ( !is_admin() ) { // jQuery wp_deregister_script('jquery'); ...
0
votes
1answer
114 views

Running javascript in a child theme. Works in jsfiddle

Here is the JSFiddle http://jsfiddle.net/thornwalker/3LQjS/ I'm trying to get it to run on my wordpress blog and having no luck. My skill is novice at best, but up until now I've been able to muddle ...
0
votes
0answers
195 views

Bootstrap Scrollspy Incorrect Highlighting

I have a WordPress site that integrates bootstrap scrollspy. Scrollspy is activated when you scroll but it highlights the first two items incorrectly in the navbar. It seems there is an offset problem ...
0
votes
0answers
99 views

Including Older Version of jQuery for IE7/IE8

I realise jQuery 2.0 dropped support for some browsers including IE7 and IE8. I'm only using a bit of jQuery on my WordPress site, but since I need to support IE7/IE8, I was wondering what the best ...
0
votes
0answers
8 views

How to load dynamic content via jquery/css in a page? [duplicate]

I'm trying to re-edit my website, and convert it's content into wordpress. I have the layer slider in which I've selected <div/video> option to add a NowPlaying html div which is loaded ...
0
votes
2answers
1k views

How to redirect non-logged in users to a specific page?

How to redirect non-logged users requesting for a specific page/URL to another page/URL and display a message like "for members only". I know its quite easy to code using !is_user_logged_in() ...
5
votes
2answers
2k views

Add custom shortcode button to Editor

Before the new version of Wordpress 3.0 came out I was using this jQuery code below to add custom buttons for my own shortcodes to the editor toolbar in the admin panel, it worked great. However with ...
1
vote
1answer
407 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
1answer
57 views

How to hide wordpress error message?

how to hide wordpress error message "You do not have sufficient permissions to access this page" and show 404 error page for all non administrator's request like e.g mydomain.com/wp-admin/plugin.php ...
-1
votes
1answer
158 views

Custom jQuery plugin not working

I'm trying to use this addon: http://trentrichardson.com/examples/timepicker/ to make it possible to edit a post date and time in the frontend before submitting it. I'm registering my scripts like ...
0
votes
0answers
73 views

Grabbing image attachments for Flexslider

I'm trying create a function that will load image attachments of a post into a list for FlexSlider to use. To specify, I want an image slider that is specific to a certain post. There may be many ...
0
votes
0answers
21 views

how to change the default login page of wordpress from wp-login.php to custom login page? [duplicate]

how to change the default login page of wordpress from wp-login.php to custom login page. So that any request for login by any user should redirect to custom login page instead of wp-login.php.
0
votes
0answers
60 views

How to Insert Popup box shortcode in wordpress

I create a Tinymce Popup box for inserting shortcode on content area in wordpress. When I click shortcode button then popup box open successfully with input field. But when I click popup box insert ...
0
votes
1answer
388 views

Why won't the Jquery validation plugin work?

I am trying to use a Jquery validation plugin called bassistance. I have wp_enqueue_script the script. I have loaded Jquery as I understand it's built into wordpress. I have included the ...
0
votes
1answer
129 views

Object [object Object] has no method 'slides'

I am using the enqueue function to link two javascript files. I get this error Object [object Object] has no method 'slides' I checked and I am not loading jquery more than once. The code that is ...
0
votes
0answers
58 views

Get fatal error when using wpdb in jQuery.post target URL

Why am I getting a Fatal error whenever I use wpdb in the target URL of my jQuery.post? Here is my code so far. My process.php is this: <?php $to = 'myemail@gmail.com'; $subject = ...
0
votes
0answers
44 views

Hyperlink to execute PHP

Below is code that will add a column called Printed to Gravity Forms and display a green or red dot representing if the form has been printed. If the form has not been printed, I am trying to a) ...
0
votes
0answers
61 views

How to block action if post is “dirty”?

For a plugin I'm working, I've added a button that needs to be either disabled or show a warning if the current editing post is dirty, that is, if anything has been modified and not saved. Looking at ...
0
votes
0answers
45 views

Perform database function in target URL using jQuery.post

I have a popup which gets the users input (name and email) and sends it to a process.php so I can send an email. I pretty much have that done. But I need to add a functionality wherein it will also ...
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
1k views

Why a SlideShow (made using JQuery FlexSlider) can't work if I load it form functions.php but work if I load it from my footer.php file? [closed]

I have the following situation: I am carrying this pure HTML theme (that use BootStrap CSS framework) into a WordPress theme. This is the original pure HTML demo theme (I have the entire source code ...