Home › Forums › Front-end Issues › How to create a search engine using Advanced Custom Fields
I’m wondering if a tutorial could be written about how one can combine all the documentation to show us how to create a custom search engine using Advanced Custom Fields please?
Although I find the documentation extremely helpful, and I am most certainly grateful for it, I find it lacks “layman’s terms”. I realise that this is greatly due to my own lack of experience with WordPress, the jargon and being new to ACF but it would really help if more practical examples existed.
Perhaps if a trusted few were able to access the documentation as a wiki then more examples could be added?
In this example, I am trying to create a search engine that will query the Custom Fields based on either a dropdown menu selection or an input field that is populated.
Perhaps if I document this post of my own findings it can be used as a How To?
My goal here is to create a form that:
My logic would tell me that the first thing I need to do is create a front end form that will dynamically create a dropdown menu as well as an input field so this is where I begin.
How to create a front end form That documentation is how to create a form to “allow you to create a front end form to edit a page / post.”
I think a good starting point would be to read over this article:
http://www.advancedcustomfields.com/resources/tutorials/creating-wp-archive-custom-field-filter/
Thanks
E
If someone is looking for a solution to this problem is to recommend the plugin:
https://wordpress.org/plugins/acf-better-search/
This plugin adds to default WordPress search engine the ability to search by content from selected fields of Advanced Custom Fields plugin.
Everything works automatically, no need to add any additional code.
mateuszgbiorczyk
your plugin only search one field at a time.
and its not supporting all types of fields.
are you planning a new update for it ?.
The topic ‘How to create a search engine using Advanced Custom Fields’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.