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
0answers
107 views
jscrollpane webkit problem [closed]
i am facing weird problem with jscrollpane on chrome and safari , its not showing the content well , i did all possible solution with it .
is there any idea i can try to fix this issue ?
...
-1
votes
2answers
86 views
jquery stopped working after deregistering wordpress stock version
I had two instances of jquery in my code and everything used to work. I decided to get rid of wordpress stock jquery by deregistering it through functions.php file. But now not a single jquery ...
2
votes
2answers
511 views
The correct way to call posts with ajax
I'm trying to write an image gallery plugin with jQuery. I'm using jQuerys $.post AJAX method to send and receive info from the relevant post page. Basically I'll be looping through the attachments ...
-1
votes
1answer
220 views
Using AJAX in a Widget to Sort items [closed]
Hi I am trying to use jQuery sortable to sort items in a widget on the admin side.
However I am having trouble getting any data in the JS file when I do alert(order).
Any idea what might be wrong ...
1
vote
0answers
205 views
Load the next posts ajax
I use the below code to display the first 5 results.
<ul class="category_list_view" id="widget_index_upcomming_events_id">
<?php
global $post,$wpdb;
$post_number = 5;
$category1 = $category;
...
-2
votes
2answers
260 views
Can I include Javascript/jQuery in a page?
I'm extremely new to Wordpress, and I've offered to help out with a project that uses it.
In a new page I'm creating, I need to use javascript/jQuery to write out the html dynamically - it doesn't ...
0
votes
1answer
93 views
jQuery dialog prints HTML-Tags under Wordpress
i need some help. I am using wp_localize_script in my Wordpres_Plugin. Inthe documentready-function i use this Code to bring the Message up:
$('#button-setup-league').click(function()
{
$( "#dialog ...
-1
votes
1answer
115 views
Integrating jSquares and Jquery with Wordpress loop
I am trying to integrate jSquares with wordpress and I am having a couple of issues. I am a beginner developer - but would love to solve this problem so that anyone can use jSquares with Wordpress. ...
0
votes
0answers
229 views
Smooth Slider (AKA jQuery cycle plugin) slides start small and grow on transition [closed]
My Smooth Slider plugin in WordPress is having an issue during transition, it starts the image off very small, then re sizes during the transition to my desired 511px height.
Here is the screenshot:
...
0
votes
0answers
124 views
Need a plugin or code for a text rotator with animation [closed]
Here's what I'm trying to do: on my homepage (using the landing page template from Prose, a child theme from Genesis), I have some text, one word of which I want to rotate through 15 different words ...
0
votes
1answer
551 views
Setting parent menu item href to javascript:void(0) [closed]
Ok, worked out how to do it, but wanted to know if this is the preferred method of doing it or if there was a better way.
What I have is this..
<script type="text/javascript">
...
0
votes
1answer
83 views
Ajax call does not work for this custom code
I have this ajax call which gets the value for catname:
jQuery('.bio a').click( function(){
var catname = $(this).closest(".bio").data('category');
alert(catname);
jQuery.ajax({
...
0
votes
0answers
132 views
Datepicker Error on pages without Datepicker [closed]
Wordpress is giving me an odd console error from a datepicker script I enqueue-ed. I read over the other datepicker questions, but they didn't solve this because the datepicker is actually working. I ...
0
votes
0answers
169 views
jQuery Quicksand not firing [closed]
Please take a look at: this
I am trying to create a filterable portfolio using a synthesis of these two tutorials:
...
0
votes
2answers
100 views
wordpress before or after javascript problem
hi guys im aqeel im trying to implement a slide show in a wordpress site's home page but it not working it simply contains the easyslider1.5.js file which i put in js folder css which of course in css ...
1
vote
1answer
300 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 ...
0
votes
1answer
140 views
functions.php not working after moving
I just migrated my site from localhost to live server.
But it seems like a new installation, my custom post types, taxonomies are not there.
The pages and posts i had are still present.
...
0
votes
2answers
194 views
Load comments per post on click with AJAX
I'm working on a theme that uses a slider to display blog posts. Beneath the slider is a pagination that displays like a timeline, with a date instead of a page number, calling the corresponding blog ...
-1
votes
1answer
316 views
How to combine jQuery in-place editor with $wpdb->update
i am trying to use jQuery in-place editor (http://code.google.com/p/jquery-in-place-editor/) on WordPress to update certain values of a custom made table in my database.
I am not really skilled with ...
1
vote
1answer
161 views
Ajax comments not working
I followed a tutorial to 'ajaxify' wordpress comments where it does not reload the page:
jQuery('document').ready(function ($) {
$('#commentform').each(function () {
var commentform = ...
0
votes
1answer
68 views
How to enque js script in footer that are not in .js file?
I do have code that is js script inline together with php script is their possible way to enque it to footer without puting it on .js file
To clear explanition on my question here is my example code
...
0
votes
2answers
184 views
How do I make my wordpress post appear in a mouse hover preview?
Mouse hover previews usually only show title and image. Instead, I want the entire wordpress post to show. The code that calls the preview is this:
adTitle = jQuery(this).find('img').attr('alt');
...
1
vote
2answers
392 views
wp_verify_nonce not working
I'm working on an ajax request, I have several ajax requests on my functions.php. And all are working, but this:
On my php I have this:
add_action("wp_ajax_fb_points", "get_fb_points");
...
0
votes
1answer
380 views
Cannot enqueue jQuery correctly using Google CDN
The problem:
I understand how to regularly enqueue jQuery UI in functions.php.
My problem is that I'm using a selectmenu widget that doesn't come with WordPress by default:
...
0
votes
1answer
493 views
call shortcode in javascript
I want to display a shortcode through jquery after the DOM is loaded:
This is how I call the shortcode: <?php echo do_shortcode('[plugin]'); ?>
Now, my question is how can I call that ...
-2
votes
1answer
456 views
Use ajax response in PHP function
Ok, so I'm working on a plugin and just ran into a problem.
Here's what I'm doing:
1. Using a metabox with Plupload to upload an image to an upload dir in the plugin folder.
2. Upon upload success a ...
3
votes
1answer
244 views
Help adding image upload functionality to widget
I am working on a small WordPress widget and I am trying to set it up where the user can upload an image. So far, the necessary scripts are loading but when I click the "Media Library Image" button ...
0
votes
1answer
138 views
enqueue jQuery into the footer
I have looked but no where seems to cover how to place jQuery into the footer, at least not the way I have it in my theme, is there a way to place the following into the footer?
// Load jQuery
...
0
votes
1answer
31 views
Loops running into each other
I have 3 loops on one page, each pulling a different CPT into a portfolio like layout.
Live: http://iassc.baltimoredrew.com/providers/
Gist: https://gist.github.com/3503334
However the tags for the ...
0
votes
1answer
32 views
Is it possible to append an external html file to my wordpress navigation?
I'm trying to add a hardcoded 'megamenu' style dropdown div to my wordpress site.
The content of the div itself doesn't need to be administered via wordpress, it will all be hardcoded.
I don't want ...
1
vote
1answer
584 views
Intergrating agile carousel to wordpress: how to write the ajax_callback function
json is totally new to me how to write an ajax_callback function for agile carousel to work in wordpress? Below is the jason data format that I need to write as php arrays for it could be parsed by ...
0
votes
1answer
117 views
Using jQuery .after inside loop
I have a bit of javascript that will dynamically add a static post to a loop. The script uses the jQuery 'after' method and on a static page it works beautifully but when inside the loop I don't get ...
1
vote
1answer
207 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 ...
0
votes
2answers
153 views
jquery fadein for all images, should be simples? [closed]
I thought this would be a simple things to do, but been searching about an hour...
I'm trying to use jquery fadein for all images on a WP site.
I've got as far as loading jquery
but then all the ...
0
votes
1answer
350 views
Using JQuery to check for Rel Attribute of Image before Overriding It
My Wordpress theme (when enabled) overrides the rel value of the link of all images with rel="lightbox" using the following code:
http://pastebin.com/Bsh739QY
How can I edit the JQuery to check for ...
-1
votes
1answer
243 views
Using jquery-1.7.2.min.js instead of the wordpress jquery
I have been trying to deregister the wordpress native jquery and use my version that i have downloaded.At first everything was working fine with the wordpress resident jquery albeit replacing $ with ...
0
votes
1answer
77 views
including jquery
I know that wordpress ships with jquery. I have built my site first in html and every script that I have running in the html version works fine running version 1.4.2. I included this same jquery ...
0
votes
1answer
189 views
Custom theme, contact form 7 & fast secure form doesn't work
I have problems with the plugins CF 7 & FSF. When I paste the code
[si-contact-form form='1']
for FSF I get the result of the code "[si-c..." itself when I load the page instead of a form. I ...
0
votes
1answer
160 views
jscrollpane problem with my child theme
i am trying to use jscrollpane , but i tried everything , its still not working
this is my function page
<?php
/**
* Custom Child Theme Functions
*
* This file's parent directory can be ...
0
votes
1answer
209 views
Jquery Theme Roller to Wordpress
How can you load a custom made Roller Theme for Jquery ui to wordpress?
I recently created and downloaded a new theme for the datepicker, but can't get it loaded.
I tried adding the css file to my ...
0
votes
1answer
220 views
Customizing the Jquery Calendar [closed]
I have never used Jquery before so I am quite stuck.
The datepicker calendar that gets displayed is not quite what I am looking for, so I am looking to customize it, but don't even know where to ...
0
votes
1answer
764 views
using AJAX to run sql statement and populate dropdown
I am trying to create a search where the user select two different bit of data from databases and it them prints some results that meet requirements. I know I need to use ajax or something similar but ...
0
votes
1answer
193 views
Loading scripts on specific pages using PHP in footer.php
I'm trying to load scripts only when needed on a particular page.
I've got the following in my footer, but am struggling with the 'is nots' and also chaining the PHP together in an else if statement ...
2
votes
0answers
443 views
“Uncaught SyntaxError: Unexpected token <” in load-scripts.php
Out of curiosity, I'm implementing AJAX in saving post. I didn't know where to start until I found this Q&A. It looks something I can grab and build on. It works but something on the Wordpress ...
-1
votes
1answer
121 views
how to display post in jquery slider and carousel
ok I'm pretty new to wordpress and the codex seems too complicated for a newbie like me. My homepage has both a slider(which I want it to display 5 latest post) and a carousel(which should display 4 ...
-1
votes
1answer
434 views
Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
I have a WordPress theme built with Masonry script , I added a new template file for list gallery, is working ok in FF and IE but in Google Chrome gallery images (inside containers) are overlapped.
...
-4
votes
2answers
396 views
can't make jQuery work (change image on time interval) [closed]
I don't get it why jQuery function is not working. I read on the interned how to load jQuery in wordpress, but with no success. Can anyone help me?
What I did so far:
I've put this in header.php ...
0
votes
1answer
126 views
How to include plugin function in theme's functions.php file
Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
1
vote
1answer
153 views
wp_enqueuescript won't load in footer even with true value set?
Below is my code for enqueue my scripts and css. I am trying to get the JavaScripts to load in the footer of my site, but when I view source I see them loading in the header. I suppose the "true" ...
1
vote
2answers
1k views
Enqueue jQuery in WordPress
Building my first theme from scratch in Wordpress 3.4.1, I know Wordpress already has the latest version of the JQuery via Google. I have read about issue's if the script is not called properly, so ...