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.
140 questions
0
votes
0
answers
81
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 ...
0
votes
1
answer
930
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 ...
0
votes
1
answer
40
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 ...
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/?...
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 ...
0
votes
2
answers
3k
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"&...
1
vote
0
answers
38
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=...
1
vote
1
answer
56
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 ...
0
votes
0
answers
465
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>
&...
0
votes
0
answers
489
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
81
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 ...
0
votes
1
answer
676
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-...
0
votes
0
answers
127
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?
0
votes
1
answer
85
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"&...
0
votes
1
answer
675
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'...
0
votes
1
answer
251
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-запрос с помощью метода ...
0
votes
2
answers
697
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 ...
0
votes
0
answers
75
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
0
answers
53
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"
}...
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 ...
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 ...
0
votes
0
answers
209
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 ...
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 ...
2
votes
1
answer
954
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
1
answer
272
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
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 ...
1
vote
1
answer
545
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
0
answers
210
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
1
answer
4k
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 ...
16
votes
3
answers
43k
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
1
answer
51
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
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 ...
1
vote
2
answers
816
views
Rhyzz Repeatable-fields javascript in php and wordpress [closed]
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
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 ...
1
vote
1
answer
716
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 ...
0
votes
1
answer
41
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
1
answer
328
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
1
answer
779
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
1
answer
134
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="td-...
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' ...
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 ...
1
vote
1
answer
3k
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
1
answer
148
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 ...
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 ...
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
...
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 ...
1
vote
1
answer
6k
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 ...
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 ...
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 ...