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
0answers
32 views

[jQuery]Autocomplete and $.post

I managed to solve it using Sisir's push in the right direction. Here's the javascript function: function render_edu_hook_javascript() { ?> <script type="text/javascript"> var ...
0
votes
0answers
3 views

Wordpress autosuggestion box

I have been searching all day for a solution, but I think I'm to noob to distill an answer to my problem from the various sources in the community. I'm trying to create an autosuggestion/autocomplete ...
0
votes
1answer
29 views

Control character encode after using jquery autocomplete

I'm using jQuery UI autocomplete for three different form suggestions. Everything is working good, the only issue is that titles suggested aren't utf-8 (I think): Instead of "Bla bla - Bla" I have ...
0
votes
1answer
127 views

Wordpress autocomplete search with taxonomies

I'm trying to make a wordpress search that has autocomplete. The thing is I don't want to autocomplete the input with a post title but with categories. I explain my problem: I have a taxonomy called ...
0
votes
0answers
359 views

ACF Relationship Field Search Filtering

I am trying to assign relate posts using the ACF relationship field. It has typeahead search to search by post titles. I would like to add meta_data search to the ACF relationship search. This ...
0
votes
1answer
235 views

Implement Autocomplete for a custom field on Wordpress Plugin Frontend

I've setup my plugin to be used on the frontend using a shortcode. I have managed to use an autocomplete form on a previous website I programmed from scratch (not WP based) but I don't understand how ...
0
votes
0answers
309 views

custom field meta-box with dropdown/autocomplete

Is it possible to have a custom metabox with the ability to either: enter a new meta_value in a certain meta_key OR choose from a list of the existing meta_keys, from a dropdown/select-box, ...
0
votes
0answers
55 views

How to Activate Ajax autocomplete in the “Right Now widget” in wp-admin?

in wordpress multisite we have "Right Now widget" where you can search for "users" and "sites". the question is how to enable the Ajax autocomplete for this fields? the input code is: <input ...
0
votes
0answers
59 views

How to use in my plugin the Autocomplete for users and sites field?

i am building plugin for my multisite, so i need to be able to select some blog from the blogs list, and then get the blog id to use this id in another function. the best solution will be using ...
0
votes
0answers
88 views

Wordpress Suggest.js file with no return

I'm trying to use the suggest.js file to autocomplete an Input textField. The suggest.js is included in the page. I used this code to search for the value on an external page: ...
0
votes
1answer
80 views

Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC

Under the active theme folder, I have a search-autocomplete.php file which uses various WP queries to create smart JSON results delivered via AJAX to a jQuery UI Autocomplete input field. It's not a ...
1
vote
1answer
755 views

How to disable autocomplete on the wp-login.php page

It looks like there is not an easy way to add autocomplete="off" to the password input on the WordPress login page without editing the wp-login.php page directly. Is there something I'm missing? I ...
0
votes
2answers
730 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
1k 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
2answers
179 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
1answer
449 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
164 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
57 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
1answer
330 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
781 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 ...
-1
votes
1answer
1k 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
1answer
1k 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
486 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
167 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
689 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
2k 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
281 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
177 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
657 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() ...
8
votes
1answer
7k 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
104 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
4k 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
1k 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
1k 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
3k 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
145 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
838 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
5k 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
5answers
3k views

Can I disable the auto complete?

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 ...