The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
408 views

Custom meta box with jQuery.sortable custom post type list

What I'm trying to do is have a custom post type ordered differently on different pages. I've searched around for quite a while and can't seem to find anything to help. I have a post type named staff ...
0
votes
1answer
55 views

How to load jquery-ui in sage

I try to add jquery-ui over bower.json but does not seems to work. I get Uncaught TypeError: undefined is not a function my bower.json jquery-ui part "jquery-ui": { "main": [ ...
0
votes
1answer
2k views

“switchEditors is not defined” with wp_editor() in jQuery UI tabs

Making a WordPress plugin, using WordPress 3.5.2 I'm using wp_editor() on the front end, inside jquery UI tabs [ajax loading tabs + 2 editors on the same panel], and I'm getting the following error, ...
-1
votes
1answer
1k views

using jquery autocomplete in wordpress plugin

I am currently developing a plugin for wordpress, and using jquery autocomplete. In my plugin file i enque autocomplete like this: wp_enqueue_script('jquery-ui-autocomplete'); Then i assign the ...
0
votes
1answer
41 views

JQuery UI not loading without explicit loading of jQuery

I know there are a lot of questions regarding this issue, but I can't figure out mine here. I'm trying to load the whole jQuery UI ( Actually I need only the Slider ) and I successed. This is my ...
0
votes
1answer
56 views

Jquery function working in Dev Console but not otherwise [duplicate]

Can someone help me utilize native wordpress jquery to run my function? The only working test i have done is to load an external jquery resouce via the chrome dev console and then add my function to ...
3
votes
1answer
63 views

Prevent sorting and dragging of specific postbox metabox

I'm attempting to limit the jQuery sortable functionality on certain postboxes/metaboxes when editing a post/page. So far I've enqueued my custom .js file in admin. wp_enqueue_script function ...
0
votes
1answer
42 views

jQuery UI Sortable not Working With Metabox

I am having a LOT of trouble with this - my ul li's aren't going anywhere. I have looked at most of the 'duplicates' of this, but cannot for the life of me get it to work. And my code probably isn't ...
0
votes
0answers
17 views

plupload.predictRuntime ERROR in Wordpress when Media Upload

plupload.predictRuntime ERROR in Wordpress when Media Upload. Shows this screen: It doesn't uploads or shows any image, and the error shown at debugging in Chrome is:
0
votes
0answers
62 views

Error with JQUERY in Multimedia Library of Wordpress

With the latest version of Wordpress I can't upload media. It shows this message from debugger: Uncaught Error: Syntax error, unrecognized expression: a[rel=] ...
0
votes
2answers
1k views

Convert WordPress date format to jQuery UI Datepicker format

I wrote the following function to convert the current WordPress date format into a format that can be recognized by the jQuery UI Datepicker: From: http://codex.wordpress.org/Formatting_Date_and_Time ...
7
votes
2answers
6k views

Inbuilt style for jquery-ui-datepicker

I want to use the datepicker that gets bundled with WordPress on the front end of a website. I enqueued jquery-ui-datepicker but the datepicker isn't styled(no js error in console). Is there a ...
0
votes
1answer
57 views

Is there a default way in wordpress to create a overlay in the dashboard?

Is there a default way in wordpress to create an overlay in the dashboard area? I need a jquery ui dialog to open after a button click. This is how it goes: The button click will fire a PHP function ...
-2
votes
1answer
201 views

JQuery UI plugin not working in IE7?

I want to use the dialog box from this plugin, but it isn't compatible for IE7. When I run it in Internet Explorer's IE7 emulator, the dialog box renders weirdly. It's partly transparent, ...
0
votes
1answer
221 views

AJAX Success Function using JS substr() fails in WP 4.1 vs 4.0

For years I've set up php ajax calls and responses in my plugins like the following, with js error detection conditions as needed like... if( "<e>" == msg.substr(0, 3) ) { do_something(); } ...
1
vote
1answer
267 views

jQuery does not work in widget backend

I created a widget which should use jQuery for switching between two views and implement the jQuery UI date picker. I was wondering why my jQuery code does not work as I noticed that the date picker ...
1
vote
3answers
388 views

jQuery UI inside widget on admin page

I have created a widget that has quite a few settings, and so I am trying to create a tabbed menu (using jQuery UI) inside the widget settings of the admin page. The problem is basically that tabs ...
0
votes
0answers
67 views

Enqueue custom jQuery UI theme to override Google CDN theme

I'm trying to override the jQuery UI theme that wordpress enqueued from Google CDN link but I have not found a solution to my issue. I have my stylesheet enqueued correctly in my plugin but the styles ...
0
votes
0answers
79 views

How to edit classes inside shortcode with jQuery

Please someone help me to do this .. I want to add FontAwesome shortcode to my theme I have a shortcode that is generated: add_shortcode( 'sh_icon', function( $atts, $content=null ){ $atts = ...
1
vote
1answer
78 views

Loading jQuery UI in the head

I am trying to load jquery-ui-core and jquery-ui-slider in the head of my theme. Here is my code: function load_jquery_ui() { wp_enqueue_script( 'jquery-ui-slider' ); } add_action( ...
0
votes
1answer
296 views

Recommended Use of Bootstrap, or JQuery-UI in WP/plugin development?

It seems Bootstrap is becoming more and more popular lately, giving a consistent feel for responsive dialogs and forms. Is it generally best practice, for now and the future, to use Bootstrap, or ...
0
votes
2answers
397 views

How To Make Iris Color Picker Showed Up Over Form and Text?

Is there a way to make wordpress default color picker (iris) showed up over form and text using wordpress api? Its inline display messing up the administration page of my plugin each time the color ...
0
votes
2answers
706 views

jQuery Autocomplete not working with wp_localize_script

Bit of background: I am building an autocompleting-search box for a list of Trades (a Custom Taxonomy). I asked this question and very helpfully got a much better understanding of how WordPress and ...
1
vote
1answer
954 views

jQuery UI Autocomplete showing all results

I've built an Autocompleting search box for WordPress categories (it's actually a Custom Taxonomy), which works great (i.e it shows the categories when typed). However, when 1 key is typed, it will ...
0
votes
1answer
238 views

Removed jQuery script from header.php , any problems?

To avoid multiple jQuery calling from my theme and plugins, I removed <script language="javascript" type="text/javascript" src="<?php bloginfo('template_url'); ...
0
votes
1answer
288 views

How to prevent plugins from loading jQuery

I recently downloaded a free plugin from wordpress.I want to remove the plugin from loading jQuery because you experts know that it is already loading from wordpress header.php file. The plugin is ...
0
votes
1answer
2k views

jQuery UI Tools: Scrollable: More than 1 instance possible?

[Found the answer (please scroll down to Edit2]: I'm trying to implement Scrollable into my theme. I ran into a few problems. I don't know much about javascript, but as people here encouraged me to ...
3
votes
4answers
10k views

Check if user is logged in using JQuery

I want to execute custom jquery code which shows login dialog to user if he clicks a button and he is not logged in. How could I do that?
0
votes
0answers
1k views

jQuery / jQuery-UI Tabs Will Not Show New Content

Thanks in advance for any help you can offer! I am using the example posted here as a proof of concept on my website page. I am using "Use Google Libraries" to load the jQuery and jQuery-UI libraries, ...
0
votes
2answers
173 views

How do I wrap 3rd party jquery scripts so that they work in wordpress?

I'm trying to include a jQuery autocomplete script in the header.php file of my theme. The script, outside of wordpress, works great using this structure (which is the same as the jQuery ...
1
vote
1answer
47 views

Format numeric symbols in titles

When I add title post as: this - is - post I view code source : this &#8211; is &#8211; post How to format code source as: this - is - post Error: I'm user jQuery UI autocomplete code ...
0
votes
0answers
702 views

Saving jQuery UI Sortable on Wordpress

I am building a sortable list and need it to save the order to my wordpress database. I looked at this answer and it's helped but I am still getting an error. (It's a blank alert box) I think that I ...
0
votes
2answers
205 views

call my script only after loading UI library?

i want to add small effect (UI-jquery-draggable) to the navigation buttons in one of the WP slider plugins. what i did: 1 I have installed the slider plugin 2 know that UI is allredy registerd in ...
1
vote
2answers
666 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
1answer
495 views

Wordpress Jquery UI Spinner

I am trying to use jquery-ui spinner in my plugin. I had googled it, but not found any referrence that can help me out. It is also not written in the docs ...
0
votes
1answer
381 views

Add jQuery in dashboard when is already added in main plugin page

Hi guys I have added jQuery and my jQuery fail to my main plugin page and it works great by this was. function load_scipt() { wp_register_script( 'reserveit', plugins_url( ...
4
votes
4answers
752 views

Include jQuery UI as a whole

Is it possible to include jQuery UI as a whole instead of: wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-effects-core'); // a lot of other jquery ui imports.... I've searched in ...
0
votes
2answers
385 views

WordPress loads whole jQuery UI library

My wordpress loads whole jQuery UI library <script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.9.2'></script> <script ...
0
votes
0answers
101 views

Unable to show messages using 'admin_notices'

The plugin I am working on has a table in the admin area with a single entry corresponding to single row. The admin has an option to perform certain actions on the table contents one of them being ...
2
votes
1answer
853 views

Ajax with jQuery UI dialog not working

I am trying to update my custom database table when changes are made in a dialog box. The script for the dialog box and ajax call is as follows - jQuery(document).ready(function($){ $("td > ...
0
votes
0answers
233 views

How to get styles from iframe in Customizer

I'm trying to get current styles from a live preview when Customizer is loaded to set them in my controls. How can I do that? I was trying in this way: $('#customize-preview ...
0
votes
1answer
208 views

Issues with wp_enqueue_script and jquery-ui

wp_enqueue_script('jquery-effects-shake'); ..doesn't seem to work, no matter where I put it. I've tried the following and lots of googling: function my_callback() { ...
0
votes
0answers
320 views

Jquery UI Datepicker via Ajax call, issue in hiding weekdays dynamically

This is my code: var hideweek; var day; var cloDays = new Array(); function initdatepicker(hideweek){ var splitWeek = hideweek.split("&&"); $.each( splitWeek, function( skey, svalue ...
1
vote
4answers
10k views

How do I use jQuery UI tabs in a WordPress page?

I want to use jQuery UI tabs in my WordPress 3.1.4 pages. I write programming tutorials for a VB .NET audience but like to provide C# source as well, and I want to use the tabs to let the readers ...
0
votes
3answers
2k views

How can I disable sorting/dragging of a menu item in the custom menu admin?

I think my problem is partially a javascript problem, but if someone knows of a better way to do this I'd love to hear it. Basically the goal is to "save the client from themselves" by not allowing ...
0
votes
0answers
318 views

jquery ui dialog problem

I have problem to run jquery dialog right. Here is what i do: I'm adding wp_enqueue_script('jquery-ui-dialog', array('jquery')); next jQuery(function($) { $(".commnetsRights").dialog({ ...
1
vote
1answer
2k views

jquery-ui-autocomplete is not loaded with wp_enqueue_script

when I load the default jquery-ui-autocomplete script from wordpress via wp_enqueue_script( 'jquery-ui-autocomplete', '', array( 'jquery-ui-widget', 'jquery-ui-position' ), '1.8.6' ); it is ...
2
votes
1answer
330 views

calling jquery function on plugin page

I am trying to call the following script on a plugin admin page: <?php function add_match_attendance_scripts() { $output = '<script type="text/javascript"> jQuery(function () { ...
0
votes
2answers
2k views

Good solution for adding jQuery tabs anywhere within WordPress?

Is there any solution for using jQuery tabs within the native WordPress scripts? If you know of a way to get any method of jQuery tabs working on the frontend and the backend please share your ...
12
votes
2answers
15k views

How to save the state of a drag and drop jQuery UI Sortables front end layout editor?

I am building a front end post layout editor using jQuery UI Sortable. The posts are laid out in 300px by 250px boxes over a background image. The posts are created and edited using the WordPress ...