Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Widget Areas Needed to run adsense code in header?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 4, 2010, 02:42 PM
webgurl's Avatar
webgurl
 
59 posts · Nov 2010
WordPress 3.0/Atahualpa 3.4.9/Firefox 3.6.12/XP sp3/
Help [SOLVED] Widget Areas Needed to run adsense code in header?

I just read several posts about putting adsense code in a widget in the header area. Now i am wondering if I used my affiliate code correctly. (It is not adsense, its Linkshare) It is a banner and seems to be running ok, but this is the code I used:
HTML Code:
%pages %logo <a target='new' href="http://click.linksynergy.com/fs-bin/click?id=fT7Xbke*jAA&offerid=211868.6&subid=0&type=4"><div id="masthead">
<img class="banner_ad" alt="Find cheap concert tickets" src="http://ad.linksynergy.com/fs-bin/show?id=fT7Xbke*jAA&bids=211868.6&subid=0&type=4&gridnum=0" /></a></div>
and then in CSS inserts I defined the div and class.
Is there some reason I should have used a widget area? Thanks for all your great work!
  #2  
Old Dec 4, 2010, 02:49 PM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
If that works as you want it to then there is no need for a widget area.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Dec 4, 2010, 02:51 PM
webgurl's Avatar
webgurl
 
59 posts · Nov 2010
WordPress 3.0/Atahualpa 3.4.9/Firefox 3.6.12/XP sp3/
I think I just realized the answer to my question after reading some more. Widget areas are for widgets, and since I didn't use a widget to display the affiliate banner, just straight code, I don't need a widget area.

Correct?
  #4  
Old Dec 4, 2010, 02:56 PM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
There are different ways to do similar things. You could add a widget area, add a text widget and put your code in it, but since it is working, the way you did it is also correct. It's only incorrect if it doesn't work

Bookmarks

Tags
widget affiliate header

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ATO code areas... 49Monsters Atahualpa 3 Wordpress theme 2 Sep 9, 2010 05:46 AM
[SOLVED] styling background in header widget areas emanuel1969 Sidebars & Widgets 5 Apr 30, 2010 08:40 PM
[SOLVED] Where to paste Adsense letterboard code so it shows below the header? Muncheys Header configuration & styling 5 Nov 11, 2009 04:46 AM
[SOLVED] Adding widget areas in the header joaodagraca Sidebars & Widgets 6 Aug 14, 2009 07:44 AM
Adsense code in Text widget jonco Sidebars & Widgets 5 Feb 11, 2009 04:18 PM


All times are GMT -6. The time now is 06:36 PM.


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