Questions tagged [jquery-ui]

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.

0
votes
0answers
7 views

jQuery UI with touchpunch not fully working on touch devices

I'm currently trying to get the jQuery UI sortable function working on my Android phone (touch). Sadly, the touch event don't works on my phone. I've tried everything. jQuery("#details-inner")....
0
votes
0answers
30 views

WordPress Thickbox Navigation Issue in Gallery

I am adding an image gallery via wp media uploader. In the frontend, I am trying to show these images in Thickbox pop-up. However, it shows the images in pop-up but when I navigate [next and prev ...
0
votes
0answers
30 views

jquery Autocomplete

I know somewhere is answer but i search everywhere. I have json-server with large data http://localhost:3004/kody Data looks like this: [ { "name": "something", "postCode": "something" }...
0
votes
1answer
384 views

In WooCommerce product archive, how can you also set the quantity to be added to cart by typing, instead of just by using +/-?

As it stands right now, in WooCommerce 3.5.1, at product archive (the /shop page), if you use the +/- buttons to set a quantity before clicking "Add to cart", all is fine. But if you try to actually ...
0
votes
1answer
553 views

JqueryUi Dialog giving Uncaught TypeError: this._addClass is not a function error

I have a site we needed some custom php coding to connect to an external database to grab product review urls for several vendors that sell our products. The basic idea we are trying to accomplish is ...
0
votes
0answers
36 views

Overwrite js code using WP_Footer

One of the plugin is en-queuing a js file in the front-end of my site. I was trying to overwrite it by creating a custom function and hooking it in WP_Footer. The js added by the plugin file is for ...
0
votes
2answers
138 views

How to override wp-admin styling

How can I copy the default styling for the admin and tell wordpress to use custom style instead of the default? Basically I want to change the colour and font without having to use !important syntax ...
1
vote
1answer
204 views

possible to make sections in theme customizer sortable and saveable at publish button clicked?

We do have kirki(a theme customizer toolkit) sortable field. But i want to apply the same logic on the sections itself instead of creating another section with sortable fields. I'm using options ...
1
vote
1answer
78 views

Problems with creating sortable sections in customizer

Let's say i am having three sections in wordpress customizer. I'm enqueueing the js file with admin_enqueue_scripts action.(should i enqueue it with customize_controls_enqueue_scripts ? ) I'm ...
0
votes
1answer
1k views

The dropdown list in autocomplete is not showing

I want to use jQuery UI and autocomplete in my search form. First I want to check whether any list will be displayed so I copied the code from the documentation and pasted it in my page template. The ...
1
vote
1answer
130 views

Jquery not showing in homepage

*Update! Table is showing but only in Chrome browser, not other browsers. Tried in Safari and Opera and did not see table on screen. Please help! Need to be compatible with all browsers if possible. ...
0
votes
0answers
34 views

why does so many javascript libraries are loaded along with my website?

I'm developing my website as a plugin. I'm loading all required javascript css and html files inside Plugin. But when look at the Network section in Developer tools, it showed me a lot of libraries ...
0
votes
1answer
925 views

Adding jQuery UI elements to WordPress page

I've spent a lot of hours on this and I checked a lot of questions but nothing works. I know WordPress automatically has jQuery and jQueryUI scripts available, and I'm trying to just get a simple ...
7
votes
3answers
10k views

Correct way to enqueue jquery-ui

I'm having a tough time including jquery-ui scripts and styles in my plugin. It seems that my wp_enqueue_script calls are simply ignored. There are already many questions similar to this one, but all ...
0
votes
1answer
27 views

Dashboard controls have all stopped working

I have an issue with a site where all of the dashboard controls that require javascript are not working. I have checked the console and there are no javascript errors which seems odd. There are also ...
1
vote
1answer
621 views

Wordpress doesn't Load JQuery Now? Do I need to enqueue JQuery also?

In my HTML I was loading JQuery, but I am not loading it when converting HTML into the Wordpress. because I think WP automatically loads it. However there is a custom.js sitting in the js folder, and ...
1
vote
2answers
357 views

Rhyzz Repeatable-fields javascript in php and wordpress

I'm having a hard time figuring out why my repeatable fields javascript doesn't work. I'm using the following plugin: Rhyzz (repeatable-fields): http://www.rhyzz.com/repeatable-fields.html. I scraped ...
0
votes
1answer
1k views

jQuery UI tab does not work in the plugin page

I am trying to show a jquery-ui tab in a plugin page through the function billing_settings_page. As jQuery and jQuery UI are loaded automaically, so I thought I wouldn't need to include them. But a ...
1
vote
1answer
414 views

Wordpress + BlockUI or a splash page

First - I don't want to invite a wheel which may exists. Second - I'm not sure which method will be most effective in my case. I have a website where there are a lot of galleries with high-res photos ...
0
votes
1answer
22 views

How can I add a new lib path without call each one on the header?

How can I add/call a entire path with all their files inside, without call each one on the header like: <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
0
votes
1answer
83 views

How to correctly load this jquery script through the file functions.php?

i'm trying to include and correctly load the script goo.gl/QlJxbk on this wordpress website. I followed the doc http://webtechfreaky.github.io/Cloud-Pricing-Slider/docs/index.html to load correctly ...
0
votes
1answer
448 views

jQuery UI Datepicker error

Somehow, the default jQuery UI Datepicker (loaded by domain/wp-includes/script-loader.php on line 214 in version 4.7 is giving javascript errors in the console. This is the line that loads in the file:...
0
votes
1answer
78 views

Open tab on current day problem jQuery and Wordpress

I need to create a tab on custom page template that open the tab in relatinship current day. This is my template page <?php /* Template Name: Palinsesto */ get_header(); ?> <div class="...
0
votes
1answer
326 views

Return an array from get_terms and store as JavaScript array for search autocomplete

I am trying to use wp_list_pluck to return an array of taxonomy names from get_terms. I'm not sure what I'm doing wrong, but this only echo's out "Array": $terms = get_terms(array( 'taxonomy' ...
0
votes
0answers
670 views

Cannot read property 'hasClass' of undefined(…) jquery-ui

I have in my console informations about some problems: [screen from browser console][1] It causes that I can't quick edit my post, I can't turn on screen option in admin panel, and drag&drop ...
0
votes
1answer
1k views

Utilizing WordPress' Admin UI for plugin settings: getting accordion style

As a plugin developer, it's important to make sure the Dashboard has the same look-and-feel as the rest of the native components of WordPress to provide a better User Experience. For my plugin, I ...
0
votes
1answer
125 views

datetime jquery UI not showing after theme update

I had jquery datetime picker working when theme team ask me to upgrade it. That totally broken my site, but now I've fixed almost everything. Last thing I cant figure out is why Jquery UI datetime ...
0
votes
2answers
906 views

How to load jquery ui autocomplete combobox?

I have tried below script to load jQuery UI Autocomplete in theme. But it doesn't load their related scripts. How should I call it to work. wp_enqueue_script('jquery-ui-autocomplete'); I think below ...
0
votes
3answers
832 views

jQuery datepicker not showing on admin menu

Nothing happens when I select the datepicker field. This is the code for the field: <input id="sticky_date" name="sticky_date" class="datepicker hasDatepicker" type="text"> The javascript ...
0
votes
1answer
1k 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
3k 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 ...
5
votes
1answer
948 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
1k 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
1answer
470 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
658 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, draggable/...
0
votes
1answer
1k 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(); } ...
0
votes
1answer
1k 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
0answers
151 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
1answer
530 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 ...
1
vote
1answer
135 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
2answers
2k 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
3k 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
868 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'); ?>/javascripts/jquery.js">&...
0
votes
1answer
2k 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
2answers
656 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
58 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
2k 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
527 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 ...
0
votes
1answer
1k 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 http://codex.wordpress.org/Function_Reference/...
0
votes
2answers
752 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 ...