This members-only tutorial provides the steps to display Frequently Asked Questions grouped by categories in Oxygen.
We are going to
register a `faq` Custom Post Type (CPT)
register a `faq_category` custom taxonomy attached to the faq CPT
enter the question as title and answer as the content for the FAQ entries
load jQuery Collapse for the expand-collapse using My Custom Functionality plugin
edit FAQs Page with Oxygen editor and use a Code Block with the required PHP, JavaScript and CSS.
https://www.youtube.com/watch?v=cEsznBqMC8Q
In the PHP code, we shall retrieve the terms of the faq_category taxonomy, loop through them and write a custom WP Query to pull all faq entries that belong to that taxonomy and output them in a format suitable for jQuery Collapse.