a guest Sep 21st, 2011 192 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  2.                         <h1><?php the_title(); ?></h1>
  3.                 <?php do_shortcode("[tab name='Overview']"); ?><div id="product-image"><?php the_post_thumbnail(); ?></div>
  4.                                 <?php the_field('overview'); ?>[/tab]"
  5.                 <?php do_shortcode("[tab name='Features & Benefits']"); ?><?php the_field('features_&_benefits'); ?>[/tab]"
  6.                 <?php do_shortcode("[tab name='Options & Accessories']"); ?><?php the_field('options_&_accessories'); ?>[/tab]"
  7.                 <?php do_shortcode("[tab name='Downloads']"); ?><a href="<?php the_field('downloads'); ?>">Download PDF</a>[/tab]"
  8.                 <?php do_shortcode("[tab name='Supplies']"); ?><?php the_field('supplies'); ?>[/tab]"
  9.                 <?php echo do_shortcode("[end_tabset]");?>
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!