Viewing 1 replies (of 1 total)
  • Thread Starter mbrailer

    (@mbrailer)

    Closing this because I remembered how I did it. I added a filter in functions.php that outputs a message if no posts are found.

    add_filter( 'kadence_blocks_posts_empty_query', function( $no_results_html ) {
    $no_results_txt = 'There are no current announcements. Please check back later.';
    $no_results_html = '<p>' . esc_html__( $no_results_txt, 'kadence-blocks' ) . '</p>';
    return $no_results_html;
    }, 10 );
    • This reply was modified 1 month, 1 week ago by mbrailer.
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.