Guest User

Untitled

a guest
Jul 28th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $td_post_settings = get_post_meta($this->post->ID, 'td_post_theme_settings', true);
  2. $display_ad = 0;
  3. if(!empty($td_post_settings['td_post_template'])){
  4. if($td_post_settings['td_post_template'] == "single_template_11"){
  5. $display_ad = 1;
  6. }
  7. }
  8.  
  9. ------
  10.  
  11.  
  12. and ($display_ad == 0)
Advertisement
Add Comment
Please, Sign In to add comment