I cannot seem to get this Adsense banner to show up in the header.
Google is not being my friend in finding correct answers. Tried a couple of <div methods but i still end up seeing nothing in the place. Its becoming a headache.
I am using the WP Theme magicBackground 2.1 and viewing in Firefox.
Here is basically what I have sitting in the code at this point. Can anyone help me with this?
Google is not being my friend in finding correct answers. Tried a couple of <div methods but i still end up seeing nothing in the place. Its becoming a headache.
I am using the WP Theme magicBackground 2.1 and viewing in Firefox.
Here is basically what I have sitting in the code at this point. Can anyone help me with this?
Code:
<!-- place you adsense code below here -->
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
/* 728x90, MPB Header */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="hxxp://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?php
$options = get_option("magicBackgroundOptions");
if (!is_array( $options )){ $options = array( 'ads' => 'AdSense code or your HTML goes here, You may configure this area in the admin section. ' ); }
echo stripslashes($options['ads']);
?>
<!-- place you adsense code above here -->