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=”]

View File

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.

Get Access to our Themes & Plugins

Trusted by 1000+ Websites

Become a member to use our themes & plugins for an unlimited number of sites. Free and Premium options!

30-Day Money Back Guarantee

Not satisfied? Your money back, no questions asked.


Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!