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
380 views
jquery.validate remote: Checking if username is taken
I'm working on a wordpress plugin and I'm trying to validate a username field on a custom registration page. I need to check if the username is already in use in my install.
I have it working the ...
0
votes
1answer
52 views
Security to delete post by Admin
My code is so simple like when admin delete a post by Wordpress fucntion (PHP) and do action with jQuery
<?php
include('../../../../../../wp-config.php');
if(current_user_can('edit_posts')){
$id = ...
-1
votes
1answer
41 views
Wordpress video end function [duplicate]
Possible Duplicate:
$ not defined using jQuery in Wordpress
I need to trigger a alert box when video ends
THis is the code i got from google
<script>
...
-1
votes
2answers
35 views
Why I am getting double jquery?
I was doing page analysis from http://www.gtricks.com/google-chrome-tricks/extensions-to-block-sites-in-chrome/">Pingdom and GTmetrix, and I notices that I am getting jquery versions 1.7.2 and 1.8.3 ...
0
votes
1answer
106 views
Custom tabs widget don't work in google chrome, is blocked, do not change the tabs. Why?
Code is the problem or is a Google Chrome issue?
Here is the code:
/*-----------------------------------------------------------------------------------*/
/* Create the widget
...
0
votes
0answers
89 views
My Wordpress site crashes in IE8 [closed]
I'm working on my first WordPress project and hit upon a really strange problem. The site loads fine in FireFox, Chrome and IE9, but IE8 goes as far as loading the background then freezes/crashes.
I ...
0
votes
1answer
83 views
Custom counter when link is clicked in Wordpress
I would like to monitor the number of times a user clicks the hyperlink assigned with a class name link_counter. I'm using jQuery and PHP to do this, for example:
...
-2
votes
3answers
41 views
Shortcode return is printing a 1 afterward
function build_total_search_method( $atts ) {
$shorcode_php_function = include( dirname(__FILE__) . "/includes/total_search.php" );
return $shorcode_php_function;
}
add_shortcode( ...
0
votes
1answer
42 views
Insert a Featured Video
I'm trying to put a video as featured in my theme, i mean, to be shown by the tag "the_post_thumbnail ('')", without using any plugin. Is this possible?
Thank you!
0
votes
2answers
94 views
Including javascript for a shortcode
I'm creating a plugin that allows a user to use a shortcode. This shortcode depends on a bunch of javascript that needs to be present once the shortcode loads.
I'm having issues trying to decide when ...
-1
votes
1answer
208 views
WP Supersized & Easy Fancybox Conflict
I am using WP Supersized and Easy Fancybox Wordpress plugins. Everything is works fine till the point I am not clicking the link to open a fancybox. Image is opening perfectly just having some issues ...
0
votes
2answers
71 views
Multiple widgets in wordpress
I have created a wordpress widget. It has a drop down in widget options. The dropdown contains "facebook" and "twitter". If admin selects "twitter", then twitter follower count is displayed inside the ...
0
votes
1answer
133 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 ...
3
votes
2answers
572 views
Defer Parsing of Scripts
this is my first time to try this "Defer Parsing" thing, and I don't really have an idea how to do it.
Using PageSpeed tool, I found out that one of the reason why my page is loading too slow ...
0
votes
1answer
417 views
Portfolio Slideshow Sliders Behaving Oddly When in jQuery Ui Tabs
I have a pair of Portfolio Slideshows inside of jQuery UI Tabs. One per tab with each pulling in a different page's gallery. When I switch between tabs the slideshows behave oddly. The main image is ...
-1
votes
4answers
124 views
Can't get jQuery to enqueue into post edit script
In the code below, unless I hardcode a reference to the jQuery library, my jQuery bits on the page do not work. What's wrong with the enqueue method I'm trying to use?
In functions.php:
...
2
votes
2answers
300 views
How can I add a jQuery OnClick event to the Publish posts button?
I want to add a simple confirmation event to the Publish posts button, so when my client hits "Publish" it will ask him if he's sure, to which he clicks "Yes" or "cancel" and the post then publishes ...
-1
votes
1answer
74 views
Hover jquery problem - How to hover different object? [closed]
I want when someone hover cite it will automatically add css: margin-top: 20 px to main wrapper
here is my code that I added to site but it doesnt work.
<script>
$("cite").hover(
function () {
...
0
votes
1answer
73 views
colorbox not loading in <head>
I can not get colorbox fully loaded.
I am trying to add color box to use in my plugin admin.
I do not need it for the front end.
I can get the css but can not get jquery.colorbox-min.js or the ...
3
votes
4answers
733 views
Wordpress 3.5 Media Manager - add a button
In my plugin, I would like to add two buttons to Media Manager (to the left of "Insert Into Post" in "media-toolbar-primary" section), and connect a jQuery action to it.
First one - The "Select All" ...
-1
votes
1answer
143 views
How to find or create a slider like Cherry Theme's? [closed]
I would like find or create a slider (that uses jQuery Cycle) like this one in the Cherry Theme by Bdayh. I like very much the "Read More" button and the layout of the slider that has small-to-medium ...
0
votes
1answer
612 views
How do I make Contact Form 7 pop up in thickbox?
I am trying to make contact form 7 pop up in a thickbox modal window. I can either use do_shortcode or the shortcode but I'm not sure how to set it up. Can someone push me in the right direction?
...
2
votes
3answers
143 views
Loading jQuery With Two Fallbacks
CSS-Tricks suggests this code to load jQuery.
However, I'm curious if anybody has done the same thing in functions.php with two fallbacks: the Microsoft hosted jQuery being the first option and ...
-1
votes
2answers
138 views
jQuery not working for tabs shortcode [closed]
See reference URL - http://prothemeus.com/demo/fact/shortcodes/
If you take a look at the tabs at the bottom of this page, whenever I click on each tab it doesn't show the content underneath.
I've ...
6
votes
1answer
1k views
Display Media Uploader in Own Plugin on Wordpress 3.5
I have little problem with Media Uploader in new WordPress 3.5. I created own plugin which is upload the picture. I'm using this code JS:
<script type="text/javascript">
var file_frame;
...
0
votes
1answer
241 views
How to make featured image thumbnails on index page load smoother?
I'm using a theme called Hatch Pro, which is a gallery based theme and the index page displays the posts using the featured image. You can see it here.
On slower browser environments, the images ...
0
votes
1answer
78 views
Add a jQuery Function
Forgive me for knowing next to nothing about coding. BUT, I am calling jQuery in functions.php, which I have been told is the best way to include jQuery:
//Get jQuery
function modify_jquery() {
...
0
votes
0answers
226 views
Nivo Wordpress Slider Plugin - Thumbnail Links [closed]
I am currently using the WordPress Nivo Slider plugin purchased from:http://nivo.dev7studios.com/ I'm using the Gallery Slide Type which displays thumbnails of all the images uploaded to a specific ...
5
votes
1answer
60 views
IP address character limit
my client in his template is using <?php comment_author_IP(); ?> to display IP's of comment authors. Recently he came to me with idea of limiting whole number to several characters. Final result ...
0
votes
1answer
326 views
Sorting WP Auctions by date/price?
I'm using this plugin called WP Auctions with the List plugin, and as you may have guessed, it is to display a list of auctions on a page much like eBay where users can bid on items. It is simple to ...
1
vote
1answer
24 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
155 views
Add/remove action on jQuery toggle
I have Ajax setup and I'm trying to toggle a function from being loaded into wp_head. It works on the first toggle function, but the second function doesn't register.
function ...
0
votes
1answer
69 views
Javascript will not run properly
I have this code which runs perfectly on jsFiddle. When I try to run that code on my self-hosted WordPress site, however, it will not run. (The code is exactly the same on my page, except that I added ...
0
votes
1answer
83 views
Jquery on custom-field backend
I need some help because I want to use some jquery (and css probably) on some custom fields on post edit screen. What I need exactly is to make , and . magically apear when user types a number: ...
0
votes
3answers
220 views
Adding numbers inside a span tag in nav menu [closed]
I am working on a wordpress navigation menu and trying to simlpy (of course, dynamically) add number inside a span tag for each menu li item.
So I created a "top menu" using the wordpress custom ...
0
votes
1answer
62 views
HTML editor accessing quicktag buttons
I'm stuck in searching a way to access the quicktag buttons on the html editor with jQuery. I tryed to access the buttons with .each() and .children() but both won't work.
jQuery( document ).ready( ...
0
votes
1answer
98 views
Problem getting .js file to load via a plugin
This http://jsfiddle.net/ambiguous/7L4WZ/ works...it removes empty <p></p> tags and then some but I can not git it to work from my plugin.
$('p').each(function() {
var $this = ...
3
votes
1answer
80 views
Click link on plugin/theme page and open the contextual help on a specific tab
I've added a help section using the add_help_tab() function. I'd like to be able to click a link somewhere on the theme/plugin page and have the help panel open at whichever tab I need. Can someone ...
1
vote
0answers
138 views
Security - Ajax and Nonce use [closed]
I'm developing a site which posts a number of ajax calls from jquery to PHP and returns data from PhP to jquery.
Everything is working, but i'd to know if my approach to handling the calls is ok, in ...
10
votes
4answers
4k views
Using Wordpress 3.5 Media Uploader in meta box?
Is this possible to do?
I love how the new uploader works. I'm guessing it has to do with a jQuery call like the other way did.
EDIT
This is the code I am currently using
...
-1
votes
1answer
54 views
How to get .change trigger to work on wordpress admin.php [duplicate]
Possible Duplicate:
$ not defined using jQuery in Wordpress
Ok, so I'm having some trouble here. I'm customizing a plugin. I need a text field to automatically populate with the text of a ...
0
votes
1answer
210 views
jQuery('#news-ticker').cycle is not a function
I am using the news Ticker plugin
http://wordpress.org/extend/plugins/news-ticker
It shows an error jQuery('#news-ticker').cycle is not a function. In IE It throws an error Dom Element Does not ...
0
votes
1answer
101 views
Royalty-Free Sliders used in theme development
I am wanting to develop a premium Wordpress theme, and would like to know what is the best way to go on choosing a slider. I'm not skilled enough yet to write one from scratch.
The ideal situation ...
1
vote
1answer
26 views
jQuery inluclude still seems ncessary for script to work within post
I have a jQuery script that works fine within a WordPress post as long as I include a reference to the jQuery libarary within the post.
<script ...
2
votes
4answers
120 views
Debug whats going on inside a function called from AJAX
I have a link on my post edit page (admin side) that calls up AJAX and jQuery to run a function inside my functions.php page. The link is wired up and calling the jQuery but I can't seem to debug ...
-4
votes
2answers
94 views
Adding jquery using php function
I was turned down with this question because I get a php error and my question revolves around jquery, but when I take out the JQUERY everything works fine. * Again I'm creating a wordpress plugin. I ...
0
votes
1answer
499 views
Load Jquery Function after Ajax Pagination [closed]
When i clicked on the Ajax Pagnavi and then the content of loading content is loaded, than works the jquery not, like tipsy or easing... also all the jquery within the Ajax Loading DIVS. The Code for ...
-1
votes
1answer
335 views
how to refresh index page without reloading browser using ajax
the desire i want is similar on how facebook works; when a new content is being published, it pushes down the old post with the new posts on top.
New Content (pushes down previous topics without ...
2
votes
2answers
233 views
jquery plugin only in one page/post
Ive seen all the documentation in the codex but I am doing something wrong since it doesnt work!
I want to implement this jquery plugin (https://github.com/davidcrawford/typist-jquery) in my welcome ...
0
votes
1answer
95 views
Trying to implement AJAX into my admin pages. Am I improperly enqueue and localizing my scripts?
I'm trying to implement AJAX into my post edit form in order to hook a custom wp function into a link click. So far I've been able to register my custom js file into my admin header. However when ...

