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 use this CSS:
    .pt-cv-no-post {display:none}
    

    With Pro version, please add the code to Custom CSS field (the left textarea) in the Content Views >> Settings page.
    With Free version, please check this document about adding custom CSS.

  • 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,