Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
where do I add the echo call for adsense
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
May 17, 2014 - 9:56 pm

for like on the forum here? I tried adding at the top of the header and it shows within the outline area, not between announcements and the forum, thank-you

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 18, 2014 - 12:57 am

like on forum here?  we dont have any adsense?  do you just mean the banner ad above the forum?

If so, we do it with:

add_action('sph_BeforeDisplayStart', 'spf_populate_ad_banner');
function spf_populate_ad_banner() {
# ad code here
}

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2014 - 1:11 am

yes, the banner above, would I just add that to the function?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 18, 2014 - 9:02 am

yes, you spFunctions.php template file...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625