Guest User

Untitled

a guest
Oct 2nd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. $adcounter++;
  2. if (is_home()) {
  3. if ($adcounter % 3 == 0) {
  4. echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment