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.
0
votes
2answers
72 views
Disable auto hide of the login form on Woocommerce's checkout page
I'm in the process of trying to style a checkout page in Woocommerce and need the login form to be visible all the time when the user is not logged in rather than initially hidden then toggled on and ...
0
votes
3answers
73 views
Jquery plugin not working on single pages
I use a news ticker jQuery plugin to show the last posts.
The codes are in the header.php file and work fine on the home page, but not on single pages. The links are loaded but they don't move.
Here ...
9
votes
1answer
251 views
Using jQuery to delete data stored in wp_options
I wonder if anyone could advise me further on my problem. Part of my plugin stores log files for debugging purposes. I have successfully displayed them in a (div#log) in my admin page using jquery ...
0
votes
0answers
40 views
jQuery vs. $ - Creating jQuery scripts in JavaScript in WordPress using External Libraries
I am trying to utilize Trent Richardson's Date Time Picker (see here).
I am trying to get the selected time when the popup closes, so I am using the following code (in an external .js file):
...
0
votes
0answers
17 views
customizing jquery with ubermenu jquery API's
I am having a heck of a time trying to get this simple function to work in WP using ubermenu:
My goal is to have dropdown menu-itm-156 fire when the document.ready and control it based on which page ...
0
votes
1answer
41 views
wordpress widget missing jquery
I have live score website and it is not wordpress based i build a widget for pure php websites but now i want to offer the widget to wordpress users problem is when i tried the widget i get three ...
1
vote
0answers
40 views
Using window.onload with Ubermenu
I am using a plugin to place this code on specific pages. But it is not firing correctly.
Has anyone had experience working with Ubermenu, WP and jQuery? Do I have to call jQuery into my ...
0
votes
0answers
32 views
Show the image specified in src
I'm trying to find a way to state "if" there is an image in the description of a Wordpress post show the image specified in src instead of from the data-img attribute. Right now I'm using a JS plugin ...
3
votes
2answers
104 views
Pass PHP variable to javascript
Is there any possibility to pass some PHP variables in javascript so I can use them later?
Only in single.php.
I heard about wp_enqueue_scripts but with that it is neccesary to declare a path to a JS ...
0
votes
0answers
27 views
Smooth Scroll and Slider Conflict
my website is http://eclat.sg/gourmet running on Wordpress(obviously.). I have a slider on the front page and I've installed jQuery Smooth Scroll plugin. The plugin works awesome but unfortunately, it ...
0
votes
2answers
50 views
Theme not calling Jquery properly
I am developing a theme and I have called jquery along with other JS files from a theme-enqueue.php file. For some reason only the Jquery file that is hosted on googles servers is adding the theme URL ...
0
votes
1answer
39 views
How to use Facebox in WordPress theme?
I am trying to add Facebox (a lightbox type image viewer) to my WordPress theme at but presently the images are not loading. I have tried hard coding this and also using the Facebox WP Gallery plugin ...
0
votes
0answers
35 views
How to make this scroll script work on just one post
I currently have a jQuery scroller on a website I am developing so that when a visitor hovers over an arrow the content scrolls up and down.
This is fine on single pages, but I now need to include ...
0
votes
0answers
59 views
Post thumbnail to append post content via ajax click event
I've searched hi and dry, tried various tutorials but I just cant get anything to work and its been a good 3 weeks now :(
I have a loop that displays custom post thumbnails in a grid using this ...
0
votes
0answers
117 views
Image slider file 'featured.php' is not automatically sliding images (but works in local server)
I edited the Image slider file featured.php to retrieve the image files from some local folder instead of media gallery (and/or posts). It works perfectly on local server. But when I upload it to the ...
0
votes
0answers
22 views
Convert WordPress SACK code to new admin-ajax
I have been using the TW-SACK library in my plugin using the below code:
<?php wp_print_scripts(array('sack')); ?>
<script type="text/javascript">
//<![CDATA[
...
0
votes
1answer
60 views
Load php file with jquery in single.php
I implemented in my worpdress theme ios button switch and when someone click the button the script load a php file with the text: on or off
Here is the code:
<script type="text/javascript">
...
0
votes
1answer
52 views
Fancybox just loading small white square
I've tried what I could, but cannot get my image to load with the fancybox plugin. The plugin is there, and seems to load, but without the image. Instead I get a small white square on the top left of ...
0
votes
0answers
9 views
FancyBox2 WordPress Plugin - Nearly Working [duplicate]
I have FancyBox2 installed. Clicking on an image launches the image in FancyBox as expected.
What I'm trying to achieve though is the use of the button 'helper'. I've called the button function, and ...
2
votes
1answer
63 views
Extend 3.5 media uploader plugin to change button name
I have followed a tutorial on how to upload images using Wordpress' 3.5 media uploader. All is well. I would just like to change the text of the actual upload button "Insert Into Post" to something ...
0
votes
0answers
71 views
How to add vertical navigation from Foundation 3 to a Foundation 4 based theme?
I am trying to add the vertical nav bar from Foundation 3 to a theme using Foundation 4. As an experiment I created a plain html file with Foundation 4's js and css and added the js and css from ...
0
votes
0answers
35 views
Include other parameters in permalinks for better management of browser history
In single.php, I have the following items that I manage (create, update, hide) with jquery/ajax:
a <select> tag in which I return all website categories.
a second <select> tag in which I ...
2
votes
1answer
67 views
Hacking TinyMCE for better usability (shortcodes and html)
I'm looking for some theme or plugin examples that showcase ways in which to enhance the usability of editing shortcodes and/or custom html objects that have been inserted into the editor.
I know ...
0
votes
0answers
38 views
I cannot move that sidebar hover to the right [closed]
I've been customizing this theme called WowWay and have tried to mirror it the RTL way, just as my language and custom design would be right-to-left. My problem is with the left sidebar you can see in ...
1
vote
1answer
135 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 ...
0
votes
1answer
66 views
jQuery AJAX call not executing in Plugin
I've been working on a class for my free plugins that outputs a "Donate" form. The "No thanks" dismissal link hides the form and runs an AJAX call to update a WP Option keeping track of the ...
1
vote
1answer
45 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 ( ...
0
votes
1answer
90 views
Problem adding MP3 attachments to a jPlayer playlist
I'm trying to get a post's mp3 attachments working with the jplayer plugin (with playlist addon). I have it working for a set number of attachments, but am failing to find a dynamic solution for any ...
1
vote
1answer
124 views
Showing Author Information and Latest Post by author in lightbox when clicked on the name of the author
I am showing details of all the authors including the avator, Name, Description in my blog. When I click on the OPTIONS TO CONNECT link a lightbox will open and I need to show those details(which I ...
0
votes
0answers
97 views
jQuery Masonry imagesLoaded not working
I have loaded masonry into the website I am working on and it functions fine. However, the images when loaded stack over each other and then masonry kicks in to slot them into place.
I want them to ...
0
votes
0answers
37 views
Customize wp-caption output
I'd like to customize the output for the wp-caption shortcode. I need to put the attachment full-size URL wp_get_attachment_image_src($post->ID, 'full')
function custom_img_caption_shortcode( $a , ...
-1
votes
1answer
61 views
Roots-theme dropdown bug below 979px [closed]
Im using the wordpress theme "roots". If the width of the site is below 979px the navigation disappears and the tablet menu-button appears.
If you click on a dropdown-menu, the height of the ...
0
votes
0answers
16 views
Worpress json api plugin - calling from jQuery [duplicate]
I am using JSON API Plugin for wordpress. It generates a json file from my wordpress content at http://grmmph.com/?json=1.
It seems to work fine if from the link above, however when I am trying to ...
1
vote
1answer
59 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 ...
0
votes
0answers
46 views
How to execute a function from function.php in a javascript?
I have created a custom menu function in functions.php, but I need to execute it in a container that is created by a javascript. Is this doable? The js is outputting a container called ...
0
votes
2answers
199 views
Are you sure popup on Contact Form 7
I have a contact form built with Contact Form 7. What I want to do is when the user hits the submit button to throw up a pop up window with a notice asking if their sure they want to submit the form ...
-6
votes
3answers
231 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
52 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
53 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
95 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
17 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
135 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
73 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
246 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
51 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
63 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
45 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
25 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
429 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
49 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 ...

