'tbtc_price', 'post_status' => 'publish', 'posts_per_page' => -1 ); $loop = new WP_Query( $args ); global $post, $wp_query; if ( $loop->have_posts() ) { while ( $loop->have_posts() ) : $loop->the_post(); $postID = get_the_ID(); $custom = get_post_custom(get_the_ID()); if (!empty($custom)){ if(isset($custom['tbtc_actual_price'])){ $tbtc_actual_price = $custom['tbtc_actual_price'][0]; } if(isset($custom['tbtc_cta_button'])){ $tbtc_cta_button = $custom['tbtc_cta_button'][0]; } if(isset($custom['tbtc_cta_link'])){ $tbtc_cta_link = $custom['tbtc_cta_link'][0]; } } ?>

' . esc_html( $tbtc_cta_button ) . ''; ?>