Step #1 - Create a Custom Post Type for FAQ
In this example I'm going to create a Custom Post Type named FAQ, but it could be anything You want. Please care about the taxonomy's slug in this case "faq_cat". You need to change it to Your custom slug.
Copy this code in functions.php
Step #2 - Create some taxonomies for FAQ Custom Post Type
Step #3 - Create some posts in FAQ
You can download the XML file from the demo to import.
Step #4 - Enqueue scripts in functions.php
Step #5 - Build the filter
Create a file named filter.php
Find and replace the taxonomy and post type:
#6 'taxonomy' => 'YOUR_TAXONOMY' #27 'post_type' => 'YOUR_POST_TYPE',
To view the full content, please sign up for the membership.
If You are already a member, please log in below: