Home Forums ACF PRO Creating dynamic filtering on custom post type Reply To: Creating dynamic filtering on custom post type

  • Allowing the client to add additional filters on the fly is going to be your biggest hurdle and that won’t matter if you’re using custom fields or taxonomies/terms to do it.

    You could create an options page that lets them define the “parameters” and then you can dynamically generate and ACF field group based on the values entered into these options. I think this would be better than dynamically generating a taxonomy based on them, but you could probably do that as well.

    Like I said, your biggest hurdle will be dynamically generating the filter form and the results dynamically based on what the client has created. There aren’t even any examples of this that I know of. I’ve used (and build) a lot of search tools and I’ve never seen anything that would allow this.