Filter by custom field in custom post type on admin page

Question

I’ve used Advanced Custom Fields to create custom fields for Competition name, answers etc. I’ve made a custom post type for competitions as shown on the image and I used WordPress functions.php to create the columns from my custom fields values.

I’m trying to get a “Filter by”-dropdown box with the competitions different names/labels like shown below, but I can only find solutions using taxonomies, which I rather not use if possible because I’ve only used custom fields for everything else.

Is it possible to make a custom “Filter by” dropdown using only custom fields?

Wordpress filter by

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/filter-by-custom-field-in-custom-post-type-on-admin-page/">

Filter by custom field in custom post type on admin page</a>
0
, , , grAND 3 months 0 Answers 88 views 0

Leave an answer