Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   BFA adsense function problems (http://forum.bytesforall.com/showthread.php?t=6347)

Djembateuse Mar 19, 2010 03:11 AM

BFA adsense function problems
 
hello - I have tried to add the adsense function bfa_add_adsense to functions.php as described in thread http://forum.bytesforall.com/showthread.php?t=431 but every time I do it I get the error
Parse error: syntax error, unexpected '=' in /home/djembata/public_html/formula1/wp-content/themes/atahualpa/functions.php on line 669
I have added the coding at the very end of functions.php on a new blank line. Would be grateful for some help. Thanks

Djembateuse Mar 19, 2010 03:29 AM

In the thread I referred to in my original post, a couple of people have had the same error message - but there does not seem to be an answer to it in that thread. Any help?

juggledad Mar 19, 2010 06:59 AM

change the line
HTML Code:

    adsense_ad = '<div class="bfa-adsense">
to
HTML Code:

    $adsense_ad = '<div class="bfa-adsense">
NOTE: add the '$' sign to the begining - I fixed it in the original post


All times are GMT -6. The time now is 10:42 PM.

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