![]() |
| ||||||||
|
|
#1 |
|
HyperActive Warrior
War Room Member
Join Date: Dec 2005
Location: , , USA.
Posts: 446
Thanks: 42
Thanked 15 Times in 15 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: 511
Thanks: 71
Thanked 95 Times in 89 Posts
|
Quote:
(because I don't use plugins either) | |
|
THE PROBLEM: Babyboomers without retirement income (free report)
THE SOLUTION: Digital Pension for every Babyboomer For WP aficionados: Insider WordPress Code to customize your blog - FREE Download! |
||
|
|
|
|
|
#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: 511
Thanks: 71
Thanked 95 Times in 89 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. |
|
THE PROBLEM: Babyboomers without retirement income (free report)
THE SOLUTION: Digital Pension for every Babyboomer For WP aficionados: Insider WordPress Code to customize your blog - FREE Download! |
|
|
|
|
|
|
#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: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
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:
| |
|
Photo Puzzles | Photo Collage Puzzles | Promotional Puzzles
Turn your favorite Photo into a quality Jigsaw Puzzle at jigsaw2order.com |
||
|
|
|
|
|
#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: 178
Thanks: 2
Thanked 25 Times in 8 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: Northern Thailand
Posts: 261
Thanks: 10
Thanked 112 Times in 33 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: 446
Thanks: 42
Thanked 15 Times in 15 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 | |
|
|
![]() |