Limited Time Offer - Save 10%

Custom Query

This document explains how to use the Custom Query option available in the Design tab of the DP Owl Carousel modules added to the Divi Page Builder by the Owl Carousel Pro plugin.

Turning the Custom Query option on will bypass the query created by the Post Type checkboxes, Category checkboxes, and the Include and Exclude tag filters. Once the option is enabled, the module will look in the child theme’s functions.php file for the following filters:


Below is a basic example of how to use the filter:

The query created by this filter will be used on every instance of the module that has the Custom Query option turned on. More complex examples including how to create different queries for different pages can be found in this tutorial.

Pin It on Pinterest

Share This