This members-only tutorial provides the steps to filter terms of a specified taxonomy by a Checkbox-type of custom ACF field using Isotope.
To follow along with the rest of this tutorial create lesson CPT with an associated series taxonomy using a plugin like CPT UI.
Create an Advanced Custom Fields field group having a Checkbox-type of field.
I entered the choices like so:
blues : Blues
country : Country
guitar : Guitar
jazz : Jazz
metal : Metal
rock-and-soul : Rock & Soul
Set the Return value to Both (Array) since we need both the labels and values to work with.
Install and activate WP Term Images plugin. This is for attaching an image to each of our taxonomy terms. You may alternately use ACF for this. In this tutorial we shall use WP Term Images.
Edit your terms and enter description, set an image and tick the corresponding genres.
Create a Page called say, "Series" and edit it with Oxygen.
Add a Section.
Text Color: #eeeeeeBackground Color: #262525Section Container Width: full-width
Add a Code Block.
Set its width to 100%.
PHP & HTML:
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $399 one-time).
Already a member? Log in below or here.
Enter your email address to subscribe to this blog and receive notifications of new tutorials by email.
Join 581 other subscribers