Yes, we need to write a filter which will add a view “slug” as shown the in example below. This code can either be written in a custom plugin or the functions.php file of your theme (or child theme if you are using a third party theme).
This user-defined slug will show up in your divi faq modules when you select “Has Custom View” and then select an option from “Select Custom View”. Below is the screenshot for the same.
If you are using a direct shortcode, the following sample code can be used.
[df_faq_framework include_categories=” view_slug=’my_custom_faq_slug’ question_class=” answer_class=”]
Sample view file shown below. The variable $attrs will be available in the view file which will be attributes from the shortcode or the divi faq module.
Divi Framework FAQ PluginThe FAQ plugin allows you to place FAQ listings in multiple locations filtered by categories. The FAQ Plugin includes a number of tools to help you, Custom Post Type for FAQs - allowing a database storage of each question and answers Categories for the post types to group them A module to place your FAQ items on each page according...