Created
September 6, 2012 04:52
-
-
Save archon810/3651381 to your computer and use it in GitHub Desktop.
This file contains 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
=== classic-child-1/root-functions.php === | |
add_filter('wptouch_the_content', 'my_wptouch_the_conten'); | |
function my_wptouch_the_conten($content) { | |
if(is_singular()) { | |
$content .= "<div class='wptouch-custom-ad'><div style='text-align: center;'> | |
AD TAG GOES HERE | |
</div></div> | |
"; | |
} | |
return $content; | |
} | |
add_filter('wptouch_body_bottom', 'my_wptouch_body_bottom', 1); | |
function my_wptouch_body_bottom() { | |
if(!is_singular()) {?> | |
<div class='wptouch-custom-ad'><div style='text-align: center;'> | |
AD TAG GOES HERE | |
</div></div> | |
<?php | |
} | |
} | |
=== classic-child-1/iphone/style.css === | |
/* You can place your custom styles here */ | |
#switch { | |
margin-top: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment