'wp_block', 'no_found_rows' => true, 'post__in' => array( $pressbook_tb_block ), ) ); if ( $pressbook_tb_block_query->have_posts() ) { while ( $pressbook_tb_block_query->have_posts() ) { $pressbook_tb_block_query->the_post(); the_content(); } wp_reset_postdata(); return; } } $pressbook_top_banner = PressBook\Options\TopBanner::get_top_banner(); if ( '' === wp_get_attachment_image( $pressbook_top_banner['image'] ) ) { return; } $pressbook_top_banner_has_link = ( '' !== $pressbook_top_banner['link_url'] ); ?>
' ); } echo wp_get_attachment_image( $pressbook_top_banner['image'], 'full', false, array( 'class' => 'top-banner-image' ) ); if ( $pressbook_top_banner_has_link ) { echo ''; } ?>