I followed the thread on Adding AdSense to content http://forum.bytesforall.com/showthread.php?t=431
after i added the code you recommended At the bottom of /atahualpa/functions.php add the following code
<?php
function bfa_add_adsense($post_body_content) {
adsense_ad = '<div class="bfa-adsense">
PUT ( i substitute my adsense code)
YOUR
WHOLE
ADSENSE
CODE
HERE
</div>';
if ( is_single() ) {
if (strpos($post_body_content,'%adsense%')!==FALSE) {
$post_body_content = str_replace('%adsense%', $adsense_ad, $post_body_content);
} else {
$post_body_content = $adsense_ad . $post_body_content;
}
}
return $post_body_content;
}
add_filter('the_content', 'bfa_add_adsense');
?>
This is what I got. My blog & wordpress dashboard disappeared. Here is the error message:
Parse error: syntax error, unexpected '=' in /home/evename/public_html/wp-content/themes/atahualpa.3.4.4/atahualpa/functions.php on line 658
Please help.
Thank you.