Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 6th, 2013  |  syntax: PHP  |  size: 0.26 KB  |  views: 35  |  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
  2.             if( has_term( 'awesome', 'product_tag',$post->ID ) ) { ?>
  3.              <div id="featured-title">
  4.                <h3><?php echo get_post_meta($post->ID, 'deal-title', true); ?></h3>
  5.              </div><!--end featured-title-->
  6.           <?php } ?>