![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
HyperActive Warrior
War Room Member
Join Date: Dec 2005
Location: , , USA.
Posts: 468
Thanks: 52
Thanked 20 Times in 19 Posts
|
I'm having a 400+ page website redesigned with wordpress. What is the best way to implement adsense on all the pages? Is there a plugin that will place adsense on all the pages?
Input appreciated... Adam |
|
|
|
|
|
#2 |
|
Advanced Warrior
War Room Member
Join Date: Dec 2005
Location: , , USA.
Posts: 780
Thanks: 1
Thanked 3 Times in 3 Posts
|
I don't use any of the available plugins, but you will find plenty in the plugins directory. Just pick one of the highly rated ones.
I find it best to just edit the single.php, index.php, header.php, and/or single.php page and put the code in myself. You can do it right within wordpress or just use notepad and an ftp program. I don't trust a lot of the plugins since they usually have leaks in them. Make sure you don't put the adsense just below the title of the article, as this is not really allowed. Insert the code after the "content" line. I wrote a small bit of code in php to insert the adsense 300 characters deep into the post so it goes a few lines down from the title. It also looks nicer being embedded into the post rather than on the side or bottom. |
|
|
|
|
|
#3 | |
|
Baby Boomer
War Room Member
Join Date: Dec 2008
Location: Canada
Posts: 1,019
Thanks: 171
Thanked 268 Times in 201 Posts
|
Quote:
(because I don't use plugins either) | |
|
Have a WordPress blog? Using widgets? -- then you need this: WIDGET MAGIC - have fun with your blog! $7 brandable Report for an RT |
||
|
|
|
|
|
#4 | |
|
Advanced Warrior
War Room Member
Join Date: Dec 2005
Location: , , USA.
Posts: 780
Thanks: 1
Thanked 3 Times in 3 Posts
|
Quote:
$code = 'Your adsense code here'; $text = get_the_content(); $text = substr_replace($text, $code, 300,0); echo $text; The code I actually use does a little more by adjusting for the length of the content, adding some white space around the adsense, and some other things I need. But the above code should work fine as is. | |
|
Last edited by rob6188; 06-01-2009 at 12:17 AM. Reason: make the code clearer |
||
|
|
|
| The Following User Says Thank You to rob6188 For This Useful Post: |
|
|
#5 |
|
Baby Boomer
War Room Member
Join Date: Dec 2008
Location: Canada
Posts: 1,019
Thanks: 171
Thanked 268 Times in 201 Posts
|
Thank you very much!
Yes, I see now (I can read PHP but can't write one single line of it...) Thanks again and have a nice evening. |
|
Have a WordPress blog? Using widgets? -- then you need this: WIDGET MAGIC - have fun with your blog! $7 brandable Report for an RT |
|
|
|
|
|
|
#6 |
|
Active Warrior
Join Date: May 2008
Location: NW Indiana
Posts: 35
Thanks: 0
Thanked 8 Times in 8 Posts
|
Adam,
I would look up adsense in the wordpress plugin portion of the site, and pick the highest rated ones. You will prolly get code you can stick in the sidebar of the site that will show up on every page, but as far as posting in every post, you will probably have to insert the code yourself on every post. Don't forget to keep in mind the Google TOS regarding how many ads you can have per page. Hope that helps, To Your Success, Clint Anderson |
|
|
|
|
|
|
|
|
#7 | |
|
jigsaw2order.com
Join Date: Mar 2009
Location: Thailand
Posts: 55
Thanks: 4
Thanked 3 Times in 2 Posts
|
I've just setup adsense on a WP blog using plugins and actually use two that work really well together. I use Advertising Manager and Whydowork Adsense. I probably don't need to use two separate plugins but it was the easiest way for me to do what I wanted.
They are both really easy to implement for both sidebar and inpost adsense blocks. Quote:
| |
|
|
||
|
|
|
|
|
#8 | |
|
Advanced Warrior
War Room Member
Join Date: Dec 2005
Location: , , USA.
Posts: 780
Thanks: 1
Thanked 3 Times in 3 Posts
|
Quote:
I should rephrase my previous comment to say "Some plugins have leaks" and not "most". Most of the plugins I found at wordpress are pretty clean. But I've only used a dozen or so in the past. | |
|
|
|
|
|
#9 |
|
HyperActive Warrior
War Room Member
Join Date: Nov 2007
Location: Writers heaven
Posts: 218
Thanks: 2
Thanked 27 Times in 9 Posts
|
there are many adsense plugins.. use all i one yahoo and adsense plugin.. it gives all th eoption...
its the best out of all |
|
|
|
|
|
|
|
|
#10 |
|
Mage
War Room Member
Join Date: May 2009
Location: Paragate
Posts: 329
Thanks: 12
Thanked 139 Times in 42 Posts
|
this is the best one I found hands down after testing about 6 of them, including the "top ones in the plugin directory"
WhyDoWork Adsense Plugin After you use it you will see why. |
|
|
|
|
|
|
|
|
#11 |
|
HyperActive Warrior
War Room Member
Join Date: Dec 2005
Location: , , USA.
Posts: 468
Thanks: 52
Thanked 20 Times in 19 Posts
|
Thanks everyone...truly appreciate the advice.
Adam |
|
|
|
|
|
#12 |
|
Warrior Member
|
I looked on yahoo for the plugin and couldn't find it. do you know wherre to look?
|
|
Rocky McDaniel is an internet marketer living in Memphis, Tn.To learn about his amazing marketing system and valuable tutorial videos click here http://smoothmovemarketing.com
|
|
|
|
|
![]() |
|
| Tags |
| adsense, plugin |
| Thread Tools | |
|
|
![]() |