This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: How to make custom fields searchable

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to make custom fields searchable Reply To: How to make custom fields searchable

#27495
timburkarttimburkart
Participant

Hello Ernest,

Yes, I know that users can enter anything in a text field. That is what I want. In a database with 2600 posts it is not practical to create a drop down list for authors or publishing institutions.

My question is how do I make the text fields behave like the search bar? I want a user to be able to type something in one of the text fields and press enter to search only in that custom field. For example, I have a custom field called author so I want a user to be able to enter an author name in the corresponding text field and press enter to search only the author custom field. The problem is, nothing happens when I only enter data in the text field. The search mechanism requires data to be entered in the search bar too.

I hope this clarifies my problem.

Thank you.