Hide the “No posts found” message

When there are no posts that match the filters of View, the “No posts found” message will be shown.

  • To hide that message, please add this code to Custom CSS field in Content Views >> Settings page:
    .pt-cv-no-post {display:none}
  • To prevent completely that message from being shown, please add this code to file functions.php of your active theme:
    // Content Views Pro - Disable empty result
    add_filter( 'pt_cv_hide_empty_result', '__return_true' );

Thank you,