Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( get_post_meta($post->ID, 'oc_code', true) ) { ?>
- <p class="toggle"><a href="#" class="replace">Show the Offer</a></p>
- <div class="offer-code">
- <?php echo get_post_meta(get_the_ID(), 'oc_code', true); ?>
- </div>
- </div>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement