get_id(); $settings = get_post_meta( $product_id, '_custom_settings', true ); if(isset($settings['description']) && $settings['description'] != '') { echo do_shortcode($settings['description']); } } else { the_content(); }