• The plugin looks great and I can see how it searches across pages, posts etc as required.

    However I cannot figure out how to get it to work for something that I want to do.

    Is it possible to get it to merely display a list of locations as a dropdown and to narrow that list down using autocomplete? In other words I only want to see a list of places with each name appearing once.

    When the user selects a location he is taken to a specific page depending on the page he is searching from. e.g. if he is on the general ‘tours’ page and selects ‘paris’ he is taken to paris tours. If he is on ‘restaurants’ and selects ‘paris’ he is taken to paris restaurants. In the list I only want him to see the places, not all the posts, pages etc where the location features in the title (for example).

    I am not a coder/developer so I apologise in advance for my question. Perhaps this plugin is not what I need to achieve what I’m trying to do? I have read that this is something to do with html5, datalists, possibly J-SON and Ajax – but was hoping the plugin has the capability I need.

    Any help/ideas would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi!

    I believe this plugin might not be able to do that. This will only work with custom post types (posts, pages etc..). So the ‘locations’ would have to be a custom post type, and their actual content would have to be what you want to show when clicking on them.

    I would suggest googling custom post types, there are a few tutorials out there explaining what exactly those are.

    Best regards,
    Ernest M.

    Thread Starter xmarksthespot

    (@xmarksthespot)

    Thanks for the suggestion. Yes, I can see how it would work with custom post types. Problem is that I only want to see each location once, not for each occurrence of Paris (say). Perhaps some sort of category drop down is what I need but with the ability to type in and search too (like the Ajax search lite interface). Am struggling to find something I can tinker with to fit my needs but I’ll keep looking. All suggestions welcome!

    Great work with Ajax search lite.

    • This reply was modified 6 years, 4 months ago by xmarksthespot.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need help with simple autocomplete/datalist’ is closed to new replies.