Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $my_post = get_post();
- $my_year = date( "Y", $my_post->post_date );
- if( $my_year < 2014 ) {
- BANNER A
- <?php } else { ?>
- BANNER B
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement