WordPress.org

Forums

SearchAutocomplete
[resolved] Unable to uncheck "Post Types" and post links (7 posts)

  1. artildo
    Member
    Posted 2 years ago #

    Hi,

    found out that i can't force the plugin to leave out post titles from autocomplete. All I need is tags and categories, but when I uncheck post links and save, it puts the checkmark back. Have any hint? Thanks

    Artem

    http://wordpress.org/extend/plugins/search-autocomplete/

  2. Gabe Shackle
    Member
    Plugin Author

    Posted 2 years ago #

    I'll push out an update today or tomorrow that addresses this issue.

  3. artildo
    Member
    Posted 2 years ago #

    Ok, will wait for that.

  4. simonunger
    Member
    Posted 2 years ago #

    The bug seems to be in the way the new options are array_merge'd with the defaults. If nothing is selected for the posttypes the default value gets merged in and overrides the "no option" option.

    A quick and dirty fix I'm using is to edit the plugin file with the built-in editor and removing 'post' from the #options_default array.

    i.e. change line 21: from
    'autocomplete_posttypes' => array('post'),
    to:
    'autocomplete_posttypes' => array(),

    Save the changes, and then edit the settings one more time.

    NB: only edit the plugin if you have some idea of what you are doing.

  5. Douglas Karr
    Member
    Posted 2 years ago #

    Same issue. Doesn't appear to be resolved yet.

  6. Gabe Shackle
    Member
    Plugin Author

    Posted 2 years ago #

    This has been fixed as of version 2.0.2.

  7. Gabe Shackle
    Member
    Plugin Author

    Posted 2 years ago #

    Marking this as resolved due to inactivity.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SearchAutocomplete
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.