Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Atahualpa theme error. Help please !!!


 
Prev Previous Post   Next Post Next
  #1  
Old Nov 6, 2009, 01:55 PM
charm9898
 
3 posts · Nov 2009
Exclamation Atahualpa theme error. Help please !!!

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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error Line 63 theme.php maguai Atahualpa 3 Wordpress theme 2 Aug 23, 2009 02:41 PM
[SOLVED] WPMU/Buddypress theme error aahkendall Atahualpa 3 Wordpress theme 2 Jul 15, 2009 11:22 AM
Theme Options Menu Doesn't Work + error + spanish tranlation (Beta) ghenghiz Languages & Translations 6 Apr 4, 2009 08:36 PM
Broken Theme - Stylesheet is missing - Error upon initial upload rontorica Atahualpa 3 Wordpress theme 16 Mar 6, 2009 03:48 PM
Atahualpa 3.0 Theme Options > Page Menu Bar - Page Error on Save bseppa Atahualpa 3 Wordpress theme 9 Dec 12, 2008 06:35 PM


All times are GMT -6. The time now is 08:01 AM.


Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.