Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem with Custom Fields
- This topic has 6 replies, 2 voices, and was last updated 5 years, 2 months ago by
Patryk.Slowik35.
-
AuthorPosts
-
March 30, 2021 at 8:42 am #32405
Patryk.Slowik35
ParticipantGood morning, Not so long time ago I started asking about Ajax Search Pro. I got the instructions but they doesn’t work in the way that I wanted. I want that filter from custom forms to open the same as in the screenshoot below
https://i.imgur.com/G4v0goE.png
How to set this? It would be the best to have it all in one column to choose between filter the advanced custom fields and checkbox, titles, author’s and keywords, like this
https://i.imgur.com/1E23HjD.pngMarch 30, 2021 at 3:21 pm #32435Ernest Marcinko
KeymasterHi,
Well, you can set the number of columns in the settins box here: https://i.imgur.com/B3HdHw7.png
These default options should print a single columnt on the settings only.March 30, 2021 at 4:10 pm #32436Patryk.Slowik35
ParticipantYeah, i undestand but my problem is about show filtr with Advanced Custom Fields in column. I want to check or uncheck to search in selected ACF by searched word. For example, by typing “bicycle” in the search field, I want to be able to select it to search by keywords, which is ACF. In the same way typing “Kurosawa”, I want to be able to mark the search for the authors of the bikes, also ACF’s. So I need a similar filter to search categories, but to ACF
March 31, 2021 at 12:49 pm #32457Ernest Marcinko
KeymasterI’m afraid that is not possible. There is no generic filter to choose to search custom fields.
March 31, 2021 at 1:07 pm #32459Patryk.Slowik35
ParticipantAnd there is no custom code to add this?
March 31, 2021 at 2:58 pm #32475Ernest Marcinko
KeymasterI always recommend something if there is a way, but this is way to complicated. The core would have to be changed to add a new option, as well as the search handlers to know what to do when these options are handled. I’m afraid there is no custom code nor minor modification possible in this case.
March 31, 2021 at 3:34 pm #32486Patryk.Slowik35
ParticipantI have found there that Frontend filter api can help me with my problem.
https://knowledgebase.ajaxsearchpro.com/frontend-filters/frontend-filters-api?fbclid=IwAR3qpefe6TBLS0Nllu1SyK9p6PGmLvKB5jBMVf0PAXl2_HQG5WD1XKkQIXo
Sorry for dragging the topic, but it is very important to my project. -
AuthorPosts
- You must be logged in to reply to this topic.