Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

empty seo blurb shortcode

// Add Shortcode
function blurb_pages( $atts ) {

	// Attributes
	$atts = shortcode_atts(
		array(
			'post_type' => 'page',
			'key' => 'seo_blurb',
		),
		$atts,
		'empty_blurb_pages'
	);

		                                    $args = array(
		                                    'order' => 'ASC',
		                                    'posts_per_page'   => '-1',
											'meta_value' => ' ',
		                                    );
		                                    $query = new WP_Query( $args ); 
											if ( $the_query->have_posts() ) :
											while ( $the_query->have_posts() ) : $the_query->the_post();
											if(get_field('seo_blurb')){
											}		
											else {
														echo '<div>';
														echo '<a href="';
														the_permalink();
														echo '">';
														the_title();
														echo '</a>';
														echo '</div>';										
											} 
								
											endwhile; 
											endif;
	

}
add_shortcode( 'empty_blurb_pages', 'blurb_pages' );