Created
May 26, 2015 19:21
-
-
Save yllus/8a45a4e0f76cfeb4f8cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( is_home() ): ?> | |
| <div id="ad_sliver" class="sliver"> | |
| <script> adUtility.insertAd("ad_sliver", { type: adUtility._AD_SLIVER }); </script> | |
| </div> | |
| <?php else: ?> | |
| <div id="ad_sliver" class="sliver"> | |
| <script>if ( window.snBreakpointWatcher.breakPoint() >= 1024 ) { adUtility.insertAd("ad_sliver", { type: adUtility._AD_SLIVER }); }</script> | |
| </div> | |
| <?php endif; ?> |
yllus
commented
May 26, 2015
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment