Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

JQuery UI Autocomplete showing as bullets

The JQuery UI Demo page for autocomplete has a nice looking search box and drop down. When I implement it in my plugin, I end up with a bulleted list. How do I get my drop down of suggestions to look ...
Tuba Saif's user avatar
0 votes
1 answer
555 views

Theme variation conflict with jquery select2 dropdown

I'm exploring the possibilities of theme variations as shown with the Twenty Twenty Three theme, but I've run into a problem with a conflict with the JQuery Select2 component used in an important form ...
David F. Carr's user avatar
0 votes
1 answer
14 views

How react js and other Javascript Technologies works on WordPress plugin?

I hope you are doing well. I want to start developing a WordPress plugin and this time I would like to do it with react at the front end. However, I have a question: If I ever create a WordPress ...
leonel kenfack's user avatar
1 vote
1 answer
1k views

splitting the URL using jQuery

Can i get the help of you guys as i want i can do it with url I need to split the URL. and use last element as job_id, And then pass "jkdbsbd45JubJKAAASSYT" as job_Id. URL: https://dev/job/?...
DK Thakur's user avatar
  • 149
0 votes
1 answer
3k views

Uncaught TypeError: jQuery(...).slider is not a function

i am trying to use the jQuery-ui function: slider(): here's my code that i wrote inside the jQuery(document).ready...: jQuery("#slider-wp").slider() and in my functions.php file i wrote ...
OmarAc's user avatar
  • 3
0 votes
2 answers
2k views

How to load an additional script for a block in the block editor?

I'm developing a dynamic block that prints the following markup (for example) using the ServerSideRender component: <div class="accordion"> <h3 class="accordion-title"&...
leemon's user avatar
  • 1,938
1 vote
0 answers
24 views

Need to change url paramenter of share product pintrest [closed]

Currently i want to change pintrest url. when i hit the pintrest url respective product image not open because not getting proper url url as follows: https://www.pinterest.com/pin/create/button/?url=...
Praful's user avatar
  • 11
1 vote
1 answer
40 views

Will the latest Bootstrap work properly with the default Wordpress jQuery?

Wordpress still uses jQuery 1.x for fear of wrong compatibility with plugins and themes. They are trying to update it, but you can see that it will take a while yet (sources: one, two, three) Now I am ...
kanlukasz's user avatar
  • 504
0 votes
0 answers
397 views

jQueryUI draggable doesn't work in Wordpress plugin

I'm making a simple plugin in wordpress that shows a draggable element.Here is my code: <?php /** * @package jqcfc */ /* Plugin Name: cfc jq */ function page_jq() { ?> <!DOCTYPE html> &...
roma salah's user avatar
0 votes
0 answers
437 views

jQuery UI Accordion loading very slow

I have a jQuery UI Accordion implemented and as the page loads, you see content of the three headers and tabs for a few seconds, and then they turn into the accordion. I'm not sure which part is ...
Ben Blue's user avatar
  • 117
0 votes
1 answer
1k views

datepicker for custom post type admin

Hey guys im trying to get the jQuery datepicker working for the admin section for a custom post type. Essentially I just want a date and then the ability to store that date in the DB then query the DB ...
Zayd Bhyat's user avatar
0 votes
1 answer
56 views

Theme style overrides the plugin style

Website theme overrides the plugin style, I'm using Cars4Rent child theme and chauffeur-booking-system plugin. I would like the original look and style of the booking plugin but the theme overrides ...
faz's user avatar
  • 1
0 votes
1 answer
634 views

How can i unload effect.min.js file?

I'm currently working on optimizing the speed of my WordPress site, and i successfully unloaded some unnecessary files, but there is one i can't seem to remove which is: https://domain.com/wp-...
marouane91's user avatar
0 votes
0 answers
105 views

WordPress live search and filter

I have a grid of posts on my archive page. How can I filter through them once I start typing on the search bar, or filter by category on click, please?
jeno's user avatar
  • 48
0 votes
1 answer
62 views

main navigation menu disappear after adding jquery source file

I have created a new page on my website: https://membership.gai-edu.eu/country-qualification/ and added jquery source file : <script type="text/javascript" src="https://code.jquery.com/jquery.js"&...
Boris Žegarac's user avatar
0 votes
1 answer
618 views

Slide toggle Jquery UI

I've been looking for ways to make an enqueue of the right library of jquery ui but i dont see there is one for that, any ideas of how to use this without getting error? jQuery('#menu_desktop'...
Christian's user avatar
  • 101
0 votes
1 answer
202 views

The script works only once by clicking on the opening and closing

What is wrong with my code? What needs to be fixed so that the script always works on clicks of buttons? <script type="text/javascript"> // Выполнить асинхронный Ajax-запрос с помощью метода ...
Василий Маркин's user avatar
0 votes
2 answers
610 views

How to access this jQuery/AJAX data in a PHP file/WordPress plugin

I have a jQuery UI sortable list, connected to another list, so far my JavaScript can display the HTML ID's from both of the lists to the screen, but I am having trouble figuring out how to direct ...
Onelostpuppy's user avatar
0 votes
0 answers
64 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 ...
saurav.rox's user avatar
0 votes
0 answers
42 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" }...
Łukasz's user avatar
1 vote
1 answer
1k 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 ...
Robert Calceanu's user avatar
5 votes
3 answers
11k 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 ...
GideonBright's user avatar
0 votes
0 answers
191 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 ...
saurav.rox's user avatar
1 vote
3 answers
5k 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 ...
William Jerome's user avatar
2 votes
1 answer
918 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 ...
seeker's user avatar
  • 85
1 vote
1 answer
252 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 ...
seeker's user avatar
  • 85
0 votes
1 answer
5k 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 ...
hetious's user avatar
  • 101
1 vote
1 answer
533 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. ...
tcadeoti's user avatar
0 votes
0 answers
191 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 ...
Nidhin's user avatar
  • 11
0 votes
1 answer
3k 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 ...
ali.salemwala's user avatar
16 votes
3 answers
40k 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 ...
Lucio Crusca's user avatar
0 votes
1 answer
40 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 ...
user1889580's user avatar
1 vote
1 answer
2k 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 ...
WordCent's user avatar
  • 1,877
1 vote
2 answers
782 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 ...
d2learner's user avatar
0 votes
1 answer
2k 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 ...
Istiaque Ahmed's user avatar
1 vote
1 answer
660 views

Wordpress + BlockUI or a splash page [closed]

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 ...
JackTheKnife's user avatar
0 votes
1 answer
23 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">
Sasha Chirico's user avatar
0 votes
1 answer
291 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 ...
Altcoin Factory's user avatar
0 votes
1 answer
755 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:...
Maarten Wolfsen's user avatar
0 votes
1 answer
113 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="...
skifast's user avatar
  • 73
1 vote
2 answers
1k 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' ...
Notorious's user avatar
  • 133
0 votes
0 answers
1k 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 ...
Marek's user avatar
  • 35
1 vote
1 answer
2k 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 ...
Ethan O'Sullivan's user avatar
0 votes
1 answer
138 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 ...
Jordi Castilla's user avatar
1 vote
2 answers
2k 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 ...
pico's user avatar
  • 21
0 votes
3 answers
2k 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 ...
Juan Fuentes's user avatar
0 votes
1 answer
2k 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 ...
worldwildwebdev's user avatar
1 vote
1 answer
5k 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 ...
Peter Noges's user avatar
7 votes
1 answer
2k 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 ...
JohnMcCarthy's user avatar
0 votes
1 answer
2k 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 ...
Lyphiix's user avatar
  • 13