The Autocomplete widgets provides suggestions while you type into the field. The datasource is a simple JavaScript array, provided to the widget using the source-option.

learn more… | top users | synonyms

0
votes
2answers
57 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
65 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
0answers
74 views

403 'GET' Error on Wordpress Jquery Autocomplete

Overview: I am trying to create a simple jquery autocomplete in a wordpress theme, on a custom template page containing a form. I wish for it to work both front-end, for logged in users, and the ...
0
votes
2answers
74 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
0answers
180 views

How can I get the jQuery Autocomplete demo to work correctly?

I'm experimenting with jQuery Autocomplete, and I'm having trouble getting it to work. The first bit of code you see below is almost an exact copy and paste from from the demo: ...
0
votes
1answer
68 views

jQuery autocomplete: retrieving term slug when term name selected

I'm trying to set up a customized searchform that will allow the visitor to search posts linked to term(s) of several taxonomies. The autocomplete part seems to work fine, but I've no idea how to get ...
2
votes
1answer
30 views

Custom taxonomy only shows 0 in autocomplete for terms and “Choose from the most used tags”

I have a custom post type (rezept that I added a custom taxonomy Allergiefrei to. I got this working so far. Adding terms to the custom taxonomy's box works, too, but autocomplete and 'Choose from the ...
0
votes
0answers
32 views

Display results with an Autocomplete

Just need some help on this `function wp_ajax_nopriv_izwootsy_charity_autocomplete() { if (strlen($_GET['q']) > 1) { global $wpdb; //$results = $wpdb->get_results("SELECT ...
0
votes
0answers
132 views

Media Attachment Custom Meta Fields not saving in Media Uploader when using jQuery UI Autocomplete

I am trying to write a plugin that adds a custom meta field to image attachments to give images a credit field. I use the 'attachment_fields_to_edit' and 'attachment_fields_to_save' filters. ...
0
votes
0answers
212 views

Tagit with json and autocomplete

I am using tagit Tagit for my wordpress site for adding tags through front-end. So far the taglist is displaying fine through json (for json I use the json api However, I can not get the autocomplete ...
0
votes
1answer
383 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
0answers
28 views

Auto complete search engine plug-in

I have a wordpress website template that has 2 search engines. It's a yellowpages like website with the "What" and the "Where". Is there any way this would work on both? and Have the "what" list only ...
0
votes
1answer
604 views

custom autocomplete search

I try to implement an autocomplete search but I have some troubles to make it works correctly. When I write in search input some words, the autocomplete search doesn't filter the results and always ...
0
votes
0answers
279 views

jQuery autcomplete not working

I am trying to implement jQuery autocomplete but it is not working. When loading it the following way it does work: wp_enqueue_script('jquery-ui-autocomplete', '',array('jquery-ui-widget', ...
0
votes
1answer
113 views

Custom taxonomy auto suggest not working in wordpress admin

I've added to my theme a new custom taxonomy in order to add future filtering capabilities to a custom post type called 'product' (I use the wooCommerce plugin which defines this custom post type). ...
0
votes
2answers
346 views

Allow AJAX call to other roles than admin

On my website, registered users (subscriber role) can send drafts and, if admins validate them, they are published. I'm trying to add a tag box to frontend editor used to send new posts. To implement ...
0
votes
1answer
968 views

jQuery drop down not appearing for autocomplete/autosuggest

I have set a field to autocomplete/autosuggest but the drop down isn't appearing as I type. I can see the admin-ajax.php requests and the data returned in the Network tab of Chrome Developer Tools so ...
1
vote
0answers
215 views

Append Auto Suggest list to specific html tag?

Right now I have a script that auto suggests some post titles, using wordpress' suggest.js <script type="text/javascript"> var se_ajax_url = '<?php echo admin_url('admin-ajax.php'); ...
1
vote
0answers
136 views

Placing auto-complete results Where I want them in my HTML [closed]

I have some code in my functions.php that creates a list of auto-suggested items based on a form's text: <? add_action('wp_enqueue_scripts', 'se_wp_enqueue_scripts'); function ...
0
votes
1answer
400 views

Auto-suggest to display meta-data, but not to include it upon click

I'm using wordpress' built in suggest scripts to create an auto-suggest form based on custom post titles... add_action('wp_enqueue_scripts', 'se_wp_enqueue_scripts'); function se_wp_enqueue_scripts() ...
5
votes
1answer
4k views

Auto-complete or auto-suggest from list of post titles

I want to have an auto-complete or auto-suggest function on a (search) form: When a user begins to type, it suggests post titles that have matching text. I'd also like it to display some meta-data ...
0
votes
1answer
101 views

Take excerpt of the content of the post and send it as the title to create new post

Explaining my goal: I would create the title by taking the first words of the post content. Ex: In the Admin interface would be the title field blank and the first 10 words of content would be sent as ...
0
votes
2answers
2k views

How to implement jquery-ui autocomplete into custom fields?

I currently have a custom fields for enter State name. I want to use the autocomplete from jquery-ui in this fields. However, I failed. This is the first time I using jquery-ui, and I am not so ...
1
vote
1answer
724 views

jQuery ajax call throws an HTTP 302

I'm trying to implement a jQuery Autocomplete where the Autocomplete gets its data from a ajax source. However, for some reason when I make the call it results in a 302 which in turn results in a 404. ...
2
votes
2answers
858 views

Autocomplete for taxonomy input boxes on a front end form

I have created a simple frontend form to allow users to submit posts - similar to the tutorial here - http://voodoopress.com/ . I also have a couple of custom taxonomies which i have as text input ...
1
vote
1answer
2k views

add_filter the_content str_replace after shortcode

I want to add a PHP str_replace to the add_filter('the_content') function. I believe my problem is that the shortcodes are loading after the str_replace is called. I have a shortcode that outputs a ...
3
votes
1answer
141 views

How would implement StackExchange 'Questions with similar titles' for the FAQ on my wordpress site

I want to have a FAQ page on my site which has a search box. As the user types in their question, a field below the search box is populated with FAQ answers with similar titles. The exact same ...
0
votes
1answer
654 views

Tags as autocomplete values

How can I load regular post tags as values for autocomplete field? What I have now is pretermined values like this: var data = {items: [ {value: "1", name: "Siemens"}, {value: "2", name: "Phillips"}, ...
3
votes
1answer
4k views

jQuery Autocomplete in Wordpress

I'm using this autocomplete script https://github.com/agarzola/jQueryAutocompletePlugin within my wordpress theme. I have a form in a page where the user could specify some tags. Actually, this is the ...
3
votes
4answers
2k views

Can I disable the autocomplete?

I've recently upgraded to WordPress 3.0, and am having a lot of problems with the autocomplete function when editing posts via 'quick edit' (e.g. /wp-admin/edit.php) - for example, editing tags. The ...