This can be sorted by editing the search option in ‘autocompleter/autocompleter.php’.
Hope it helps anybody else having the same issue.
// Add settings link on plugin page
function autocompleter_settings_link($links) {
$settings_link = '<a href="options-general.php?page=autocompleter/autocompleter.php">Settings</a>';
array_unshift($links, $settings_link);
return $links;
}
$plugin = plugin_basename(__FILE__);
add_filter("plugin_action_links_$plugin", 'autocompleter_settings_link' );
?>
]]>
For those who asks for custom post type support, just go to values.php and change this part (line 25):
case 5: //Posts titles
$words = $wpdb->get_results("SELECT concat( post_title, '|', 1 ) name, 1 cnt, ID FROM ".$wpdb->prefix."posts t WHERE post_status='publish' and (post_type='post') and post_date < NOW() and post_title LIKE '%$search%' ORDER BY post_title");
for something like this:
case 5: //Posts titles
$words = $wpdb->get_results("SELECT concat( post_title, '|', 1 ) name, 1 cnt, ID FROM ".$wpdb->prefix."posts t WHERE post_status='publish' and (post_type='YOUR-CUSTOM-POST-TYPE') and post_date < NOW() and post_title LIKE '%$search%' ORDER BY post_title");
]]>
When this plugin is installed every plugin has a settings link added that leads to the autocompleter settings menu.
The autocomplete search appears to work though
]]>I’ve been using this plugin for a while and love it! However, I do have a couple annoyances that I would like to fix.
When you start to type in the search string, the autocomplete results display on top of the search box making it hard to keep track of what is being typed.
And also the results list displays behind my slide show hiding most of the results.
Any ideas on how to fix this?
]]>On my theme doesn’t work, but on Twenty Thirteen is working great, help to fix it.
]]>On my theme doesn’t work, but on Twenty Thirteen is working great, help to fix it.
]]>Fix it in autocompleter.php update the function with the following:
function autocompleter_settings_link( $links, $file ) {
if ( $file == plugin_basename( dirname(__FILE__).'/autocompleter.php' ) ) {
$links[] = '<a href="' . admin_url( 'options-general.php?page=autocompleter/autocompleter.php' ) . '">'.__( 'Settings' ).'</a>';
}
return $links;
}
]]>
Hi,
Really love this plugin! I combine the usage of another plugin (relevanssi better search), I am able to show all taxonomy terms in the AutoComplete.
I turned on the auto submit function, which will leads me to the search result page by clicking the term detected (say the taxonomy term is “term123”):
https://www.mysite.com/?s=term123
I wonder if there is any way, the user can be led to the taxonomy page instead, given that autocomplete function can detect the taxonomy term? i.e. the search result should be:
https://www.mysite.com/taxonomy/term123
An example i am look at is: https://imdb.com
Thanks,
Andrew
Selection for post, categories,…
check box would have been more helpful
]]>Hi, cool plugin!
Im using contact forms 7 to create a datatable of information, input through text fields.
is there a way to implement the autocomplete functionality to any text input field, not just search?
Thanks.
]]>Hi, me like your plugin but “autosubmit” don’t work when you chek it on in admin-panel. This option is not work: 1.3.5 [09 Mar 2011] – added posibility to skip search result’s page and goes directly to the post or page. See Description tab for more details.
Wordpress 3.3
This option is most important. Please help me, I have spent 4 hours, but and haven’t solved a problem
This is my experience how the user expectation and Autocompleter 1.3.5.1 differ on WP 3.3:
1. Type “mi” into the field
2. You’re shown matching results, but they’re sorted alphabetically. A more desired solution would be to show them in an order of likely importance (posts starting with “mi” shown first, then posts with words starting with “mi”, then the rest shown in the order of how early in the post title “mi” is) – now “Abcd Efgh Ijkl Family” is shown before “Mileage Matters”
3. Click one of the results
4. Whether the autosubmit on select is set on or off, the form doesn’t autosubmit on click.
5. The clicking deselects the form, so to get back there, you have to click it again if there’s no search button or you like pressing enter.
6. Submit the form by pressing enter if you didn’t click the search button.
7. The user is, indeed, directed to a search page. Not the post page. Unless you have a separate plugin that redirects search to a single post page when the search returns only a single post. Autocompleter 1.3.5.1 doesn’t step in between to do it.
At the moment Autocompleter improves the user experience in a very slight way, but the abovementioned quirks may leave users frustrated which is bad for the user experience. We don’t consider it deployable until a newer version remedies these shortcomings.
]]>Just in case anyone else is struggling, after a lot of debugging, I found that this plugin clashes with the popular WP Events plugin. The effect is that is just doesn’t work, without throwing any errors.
The reason for this clash is that the events plugin uses the jQuery UI Autocomplete function, which shares the same jQuery plugin name.
This can be fixed fairly easily, by changing the name of the jQuery plugin on lines 6, 462, 492 and 500 of jquery.autocomplete.js and line 67 of autocompleter.php to something else (eg. WPautocomplete). This avoids the clash, and it works fine.
Hope this saves some other people the headache I had!
]]>Warning
This Plugin adds a hidden link to the bottom of your blog page.
If the developer asked for this – or pointed it out then fine – but he doesn’t. This is a link scam.
I’ve now deleted this plugin.
]]>Hi,
This plugin would be more awesome if you implemented custom post type support!
MrVictor
]]>me again.
After using the plugin, one thing is missing.
example
I have a tag
“La Flèche d’Or”
if I write
Flè
It doesn’t appear because Flèche is not the first word.
Is it possible to fix it ?
]]>hi ?? your plugin is incredible, very easy to use, very easy to customize … a perfect plugin !
I have a little request : instead of sending the request found by tag on ?s=the+tag … only send the result at /tag/the+tag/
do you think it’s possible and/or easy ? (maybe an option like post titles / categories / tags on the admin ?)
]]>