Skip to content

Snippet: Add Content Between Grid Filter & Grid

// Use the $atts variable to check your current module attributes and display content accordingly
// Also you can use WP_Query to display content from any page/post
function myprefix_after_filter_content( $content, $atts ) {
    $content = 'YOUR CUSTOM CONTENT HERE';
    return $content;
}
add_filter( 'vcex_after_grid_filter', 'myprefix_after_filter_content', 10, 2 );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top