Welcome to the Treehouse Community
Looking to learn something new?
Hunter Hawley3,948 Points
Getting Custom Post Types / Fields to show up in search
I am making a client account information database, basically just a way to keep up with my web design clients, in Wordpress. To do so, I have created a custom post type with the plugin "Custom Post Type UI" called 'accounts'. Now, using the plugin "Advanced Custom Fields", I have created some custom fields to fall under the post type.
I am trying to make this database searchable, since it will have client data in it. Now, how can I make it so that I can search a word that is in one of my custom fields, and have the post show up on the search page?
I have tried a couple plugins, but none of them have worked.
Glad to hear you got it figured out, Hunter!
It took me a while to figure this out also - have a look at the Relevanssi plugin (http://www.relevanssi.com/). It's a bit fidgety to configure however I've had good results with it.
I hope this helps!