Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 23rd, 2011  |  syntax: PHP  |  size: 0.58 KB  |  views: 79  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.    <?php do_shortcode ('[tab="Overview"] <div id="product-image">' . the_post_thumbnail() . '</div>' . the_field("overview") . '[/tab]'); ?>
  2.     <?php do_shortcode('[tab="Features & Benefits"]' . the_field("features_&_benefits") . '[/tab]'); ?>
  3.     <?php do_shortcode('[tab="Options & Accessories"]' . the_field("options_&_accessories") . '[/tab]'); ?>
  4.     <?php do_shortcode('[tab="Downloads"] <a href="' . the_field("downloads") . '">Download PDF</a> [/tab]'); ?>
  5.     <?php do_shortcode('[tab="Supplies"]' . the_field("supplies") . '[/tab]'); ?>
  6.     <?php do_shortcode('[end_tabset]'); ?>
clone this paste RAW Paste Data