The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
2answers
13k 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 ...
6
votes
2answers
3k views

How Do I Use jQuery UI In My Plugin

It's a sad day in the world when I Google something and it returns nothing. I am trying to use the default datepicker (or ANY datepicker at this point) and am unable to because of my lack of ...
5
votes
2answers
2k views

WordPress Menu Custom Walker Class

We are using a jQuery UI accordian to render a menu in the sidebar. We've already written the markup and javascript and I am just trying to get the wp_nav_menu to output the same markup we've already ...
4
votes
4answers
448 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 ...
3
votes
2answers
2k views

Why is wp_enqueue_script not loading included jquery ui scripts?

Using Wordpress 3.4.2, the wp_enqueue_script documentation seems to indicate that jQuery UI libraries can be loaded simply by referencing their handles. I have the following code with no prior ...
3
votes
1answer
3k 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 ...
3
votes
4answers
22k views

jQuery UI Datepicker not working

i want to add a datepicker on a custom page but i doesn not work. WP version is 3.2.1. Those are the init string i used on wp code: wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-core'); ...
3
votes
1answer
1k views

Custom function to rearrange attachments when creating posts – Almost there

I'm having some trouble with a custom thing I'm doing. I've implented a custom image uploader into a metabox in a custom post type. Now I'm trying to work out a way that will let me reorder the ...
3
votes
1answer
517 views

No Styling for the datepicker in Wordpress admin

I'm developing a plugin for Wordpress and I need a datepicker. So I enqueue the jquery and jquery-ui wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-datepicker'); and called the ...
3
votes
1answer
2k views

How to include jquery-ui library in WordPress?

I'm trying to load the jQuery UI library into a WordPress plugin using this enqueue statement: wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-core'); The jQuery library loads fine, but ...
2
votes
4answers
6k 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?
2
votes
1answer
1k views

Why is jquery-ui-core enqueueing in my footer instead of the header?

This is what I'm using to make sure that I have jquery-ui-core available: if (!is_admin()) add_action('wp_enqueue_scripts', 'zg_load_scripts'); function zg_load_scripts(){ ...
2
votes
1answer
620 views

Enqueuing jQuery in plug-ins

I want to use jQuery in a plugin. In functions.php of the theme I'm using, I found: if(!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', ...
2
votes
1answer
236 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 () { ...
2
votes
1answer
140 views

Wordpress Iris Colour Picker adding iOS touch events

I've implemented an Iris Colour Picker into the front-end of my theme thanks to the help provided in this question and all works well on the desktop front. However, it seems as though when it comes to ...
2
votes
1answer
3k views

Timepicker-addon doesn't show - Datepicker works fine?

UPDATE It seems that it might be a problem with the, $("#opening_time").datetimepicker(); $("#opening_time_end").timepicker(); $("#closing_time_end").timepicker(); If there is a ...
2
votes
1answer
629 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 > ...
2
votes
3answers
542 views

Admin area 'toggle' w/ cookie

the wordpress admin already uses some kind of toggle on the menu and on metaboxes.. w/ "Click to Toggle" buttons that remember the open versus closed state. Does anybody know what code is responible ...
2
votes
1answer
100 views

Save list from a custom meta box?

I have a simple list (ul>li) which is manipulated with jQuery UI in a custom meta box. How would I go about saving the contents of the list during post save? I already have the save function ...
1
vote
1answer
588 views

Enqueue Javascript Correctly for 3.5

I am trying to create tabs for admin settings page in wp, but I think I'm doing it wrong. The example below shows how I did it but I don't know how to change this to use it correctly with no conflict ...
1
vote
2answers
5k views

How to enable the content editor as a droppable target with jQuery-ui?

I'm trying to enable the WordPress content editor as a droppable using jQuery UI drag and drop. However, I can't get the drag to drop, or the drop event to fire. Is there something I'm missing? ...
1
vote
4answers
9k 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 ...
1
vote
1answer
358 views

Automatic jQuery accordion from header tags

I want it to be fairly easy for the post author to setup an accordion, based on header tags. So for example this: <h3>Headline 1</h3> <p>Content.. lorem ipsum</p> ...
1
vote
3answers
3k views

using wp_enqueue_script to attach jquery-ui

I am trying to load jquery-ui using wp_enqueue_script. I can check that jquery is loaded. jquery-ui is registered i.e. output of var_dump( wp_script_is( 'jquery-ui-tabs', 'registered' ) ); is ...
1
vote
1answer
406 views

How do I get my page to load the jQuery UI Effects library?

I'm using javascript for the first time to do some simple animations on the home page of my website. So far I have added the following to my header.php file (which is only used for my home page), ...
1
vote
1answer
55 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( ...
1
vote
1answer
43 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 ...
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 ...
1
vote
3answers
291 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 ...
1
vote
2answers
589 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 ...
1
vote
1answer
571 views

Adding a slider captcha to the comment system

QapTcha is a draggable jQuery captcha system. I have been trying to create a plugin to make it work on the Wordpress comment system. I found a plugin that is already doing this but it is outofdate and ...
1
vote
2answers
615 views

How to apply wordpress css styles to a jQueryUi dialog?

Im devloping a wordpress plugin, and I succeded in showing a modal dialog using jQuery. Problem is that I also show a list and buttons into that dialog, and i would like that those buttons and list ...
1
vote
1answer
5k views

How do I implement JQueryUI dialog modal in a WP plugin?

I have a Wordpress plugin I created which creates custom top level menu and submenu fine. The Submenu calls this, (entire code beneath) the BranchMaintenance php form, which shows branches in a table, ...
1
vote
3answers
1k views

Control attachments menu order with jQuery Sortable

I've managed create a metabox that lets me upload and then fetch the images and then also been able to add jquery ui sortable to be able to sort the images, however I've no idea how to add actual ...
1
vote
2answers
1k views

jQuery UI AutoComplete & wp_enqueue_script

I looked at the included scripts in WordPress (wp_enqueue_script) and didnt find what I should include to use jQuery UI Autocomplete I am using it in the admin area. Should I just include jQuery UI ...
1
vote
1answer
519 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 ...
1
vote
1answer
138 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
0answers
166 views

Dukapress jQuery(“form.product_update”).livequery is not a function

I have a wordpress site running Seduction theme and Dukapress. Once you add a product and reach the checkout page, the payment and discount button is not clickable. Chrome/Firebug throws the error ...
0
votes
2answers
316 views

Which jQuery packages are included in Wordpress 3.1.2?

I haven't found a document, except this one, that says which jQuery packages are included by wordpress. Thus, I don't know if I should add jQuery to my header.php or not. The link above, doesn't ...
0
votes
1answer
740 views

Cannot enqueue jQuery correctly using Google CDN

The problem: I understand how to regularly enqueue jQuery UI in functions.php. My problem is that I'm using a selectmenu widget that doesn't come with WordPress by default: ...
0
votes
2answers
128 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 ...
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 ...
0
votes
1answer
779 views

Enqueue jQuery UI Tabs In Admin Area

Does anyone know how to enqueue the script "Jquery UI Tabs" in admin area? I want to use it inside my theme options page. Already read the related wordpress documentation but with no results... I have ...
0
votes
2answers
146 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
2k views

Override default jquery ui library with newer version

The latest version of jquery ui core fixes a bug that's on my site. The problem is that Wordpress comes with an earlier version. How do I override the default jquery ui core? One solution I've found ...
0
votes
1answer
509 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 ...
0
votes
1answer
472 views

How to add custon UI jquery & Fancybox script to WP

I have a javascript that uses jquery objects to do a number of things first it finds images that are in a table adding these to a Fancybox gallery. This gallery has the Helper buttons allowing the ...
0
votes
1answer
445 views

jQuery UI Theme that aligns perfectly with the admin UI

Anyone knows a theme that's not only close (like "smoothness"), but really aligns with the look and feel of the admin UI?
0
votes
1answer
658 views

jQuery UI Tools (Flowplayer) Issues

As great as the jQuery Tools might be they're giving me a headache. I want something like this for my website. I have the necessary script included (and Scrollable works just fine btw.): <script ...
0
votes
1answer
766 views

jQuery tabs plugin with callback to fetch data

I want to use tabs plugin and load tab contents using ajax. The problem is: the plugin requires a solid .php file to be specified in href e.g. <li><a href="ajax/content3-slow.php">Tab 3 ...