Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

BFA adsense function problems


  #1  
Old Mar 19, 2010, 03:11 AM
Djembateuse
 
8 posts · Dec 2009
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
  #2  
Old Mar 19, 2010, 03:29 AM
Djembateuse
 
8 posts · Dec 2009
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?
  #3  
Old Mar 19, 2010, 06:59 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 19, 2010 at 07:05 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Read more' function won't work GlobalNeat Excerpts, Read more, Pagination 12 May 5, 2010 06:32 AM
SwitchLang Function Lyryanne Atahualpa 3 Wordpress theme 0 Feb 2, 2010 04:46 AM
Call to undefined function the_post_thumbnail() anatta Page & Category Menu Bars 3 Jan 23, 2010 08:47 AM
Call to undefined function the_post_thumbnail() numone Header configuration & styling 5 Jan 20, 2010 06:45 PM
Easy Adsense plugin to insert adsense works great with Atahualpa jenb Plugins & Atahualpa 0 Oct 20, 2009 05:27 PM


All times are GMT -6. The time now is 01:55 PM.


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