Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Sep 21st, 2011  |  syntax: PHP  |  size: 0.80 KB  |  views: 185  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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]");?>
clone this paste RAW Paste Data