Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Searching pages by custom fields
This topic contains 15 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 11 months ago.
- AuthorPosts
- May 18, 2020 at 10:12 am #27411
Hi,
I’d like to be able to use this to search pages, which seems easy enough as you can select the content type as “Pages”.
However, I’d like to search the pages by custom fields. But on the custome fields section it only allows me to search for custom fields in “post meta” and “user meta”. Does that mean I can search by custom fields on pages?
Thanks
Kev
Attachments:
You must be logged in to view attached files.May 18, 2020 at 12:45 pm #27418Hi,
Post meta is the same as custom fields in this case – any custom field for any post type, including pages.
If you want to search and return pages/posts/any cpt by custom fields, then you are looking for these options. The one on the screenshot are for the front-end filters, which is different.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 20, 2020 at 4:44 am #27439You cannot access this content.May 20, 2020 at 8:53 am #27441You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 20, 2020 at 9:06 am #27442You cannot access this content.May 20, 2020 at 12:26 pm #27450You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 21, 2020 at 4:07 am #27474You cannot access this content.May 21, 2020 at 1:10 pm #27487You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 22, 2020 at 3:37 am #27498You cannot access this content.May 22, 2020 at 2:22 pm #27503Thank you! I’m afraid the same issue happens there as well: https://i.imgur.com/mycKhMv.png
Best,
The process has no permissions to make edits to the files unfortunately.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 27, 2020 at 8:46 pm #27613You cannot access this content.May 28, 2020 at 2:54 pm #27637Hi,
Thank you very much, I was able to find the problem.
There is another field group under the ACF options, which was in the trash. When requesting the field options from ACF, it returned the one that was “trashed”, and so no valid options were returned. Once I restored the group from the trash, it started working again.
Best,
It has the same field names, so that is probably the issue. You can leave that group as it is, or perhaps delete it permanently, to aviod the field name duplicates.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 1, 2020 at 4:55 am #27652You cannot access this content.June 1, 2020 at 8:32 am #27656You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 10, 2020 at 10:45 am #27779You cannot access this content. - AuthorPosts
You must be logged in to reply to this topic.