Filtering posts based on a custom field (ACF)
-
Hi,
I have installed WordPress and the Advanced Custom Fields plugin (ACF) in order to use it as an internal CMS system (this is why I can’t specify a link to the web page). I used the ACF configuration to create several custom fields and then added code based on the example here: https://activelab.io/tutorials/filtering-custom-post-types-by-post-meta-in-the-wordpress-admin-area to add the ability to filter the posts of a certain type based on the value in one of the custom fields. The dropdown box contains all the options and when I select any of the options in it it filters the posts but all the options on the dropbox disappear.
Has anyone here seen anything like it before?
T.I.A,
Yuval.
- The topic ‘Filtering posts based on a custom field (ACF)’ is closed to new replies.