![]() |
|
|||
|
I'm currently using this code in OpenHook's "Before Post" box.
What do I have to change to make this only show on single posts, and not on the home page? Thank you, w Code:
<div class="ad_left"> <script type="text/javascript"><!-- google_ad_client = "pub-8288806436281168"; /* 250x250, created 3/4/09 */ google_ad_slot = "6938323385"; google_ad_width = 250; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> |
|
||||
|
Rick, can you use conditional PHP in OpenHook?
You'd want to use something like if (is_single() && !is_home()) { code here } but I'm not sure how that'd work with OpenHook.
__________________
DIYNINJAS | The Thesis Theme Pros Follow me on Twitter: Twitter.com / mitchcooper Get Neoclassical + Thesis now. |
| Thread Tools | |
| Display Modes | |
|
|