skip to Main Content

Change the “No Posts Found” Notice

The Post Cards element has a built-in setting that allows you to change this on a per-element basis.
add_filter( 'vcex_no_posts_found_message', function( $message, $atts ) {
	return 'Your custom no posts found message or HTML here.';
}, 10, 2 );
All PHP snippets should be added via child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)
Back To Top