Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-11-2010, 10:37 AM   #1
Active Warrior
 
Join Date: Nov 2009
Location: Charlotte, NC
Posts: 75
Thanks: 3
Thanked 2 Times in 2 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to jonrpatrick
Default stupid wp and adsense question

I've been using adsense on my sites, pasting the code into an html widget that shows on the right side.
I'm disappointed in my results, and I've noticed several people in their posts have talked about having ads at the top of the page, below the header image.
Uh,.... how do you do that?
Specifically, I'm talking about blogs built with wordpress.
Thx.
JP

Jon R. Patrick
Husband, Father, Engineer, Author, MLM Advocate
Visi Wellness MLM
jonrpatrick is offline   Reply With Quote
Old 11-11-2010, 10:45 AM   #2
Ice Spider
 
Join Date: Oct 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via AIM to ibanezgrx1 Send a message via Skype™ to ibanezgrx1
Default Re: stupid wp and adsense question

From your adsense CP go to My ads tab and from there you'll be able to generate the code. Select patterns, preview them and you'll find it. Then copy and paste the code.

I Eat Grass :) :) ;)
ibanezgrx1 is offline   Reply With Quote
Old 11-11-2010, 10:53 AM   #3
Motivationally Challenged
War Room Member
 
deloriagod's Avatar
 
Join Date: Jul 2010
Posts: 360
Blog Entries: 3
Thanks: 38
Thanked 22 Times in 22 Posts
Social Networking View Member's Twitter Profile 
Default Re: stupid wp and adsense question

Go to your admin panel and select Appearance -> Editor then find the template for your single page or post (whichever you're using). Create a new ad and copy that code. Look through your post/page template and find the part of the code that grabs the post/page title and past the code above that. If you want the code at the bottom then scroll down until you find something that looks similar to this:

<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>

That's the code to get the sidebar and footer. In most of the themes I've worked with, you can go up 2-3 lines (which are normally blank) and you'll find </div>. Hit enter to drop that div down one line and paste your Adsense ad code where that div used to be. (Div's are magical invisible boxes. You want the ad neatly below the page's content, you need to keep it in that div or create a new one and tell it where to go via the style.css file).

deloriagod is offline   Reply With Quote
Old 11-11-2010, 10:55 AM   #4
Active Warrior
 
Join Date: Nov 2009
Location: Charlotte, NC
Posts: 75
Thanks: 3
Thanked 2 Times in 2 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to jonrpatrick
Default Re: stupid wp and adsense question

You are "The Man".
I've poked around in those .php's but am certainly no expert. Thanks.

Jon R. Patrick
Husband, Father, Engineer, Author, MLM Advocate
Visi Wellness MLM
jonrpatrick is offline   Reply With Quote
Old 11-11-2010, 11:21 AM   #5
HyperActive Warrior
 
TheGrooby's Avatar
 
Join Date: Nov 2010
Location: Atlanta, GA
Posts: 186
Thanks: 5
Thanked 13 Times in 11 Posts
Contact Info
Send a message via Skype™ to TheGrooby
Default Re: stupid wp and adsense question

You can also paste the code directly into your Wordpress post/page content area when writing your content. Make sure you have the "HTML" tab activated, not the "Visual", and paste the Adsense code. Then you can have your H1, content, etc... Or, paste the Adsense code at the bottom of that box below your written content.
TheGrooby is offline   Reply With Quote
Old 11-11-2010, 11:46 AM   #6
Advanced Warrior
 
gittar1122's Avatar
 
Join Date: Sep 2010
Location: Internet
Posts: 555
Thanks: 10
Thanked 26 Times in 25 Posts
Contact Info
Send a message via Skype™ to gittar1122
Default Re: stupid wp and adsense question

If you want to add Adsense unit below header image, you have to edit your WP theme. Deloriagod explained it in a good manner

Quote:
Go to your admin panel and select Appearance -> Editor then find the template for your single page or post (whichever you're using). Create a new ad and copy that code. Look through your post/page template and find the part of the code that grabs the post/page title and past the code above that. If you want the code at the bottom then scroll down until you find something that looks similar to this:

<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>

That's the code to get the sidebar and footer. In most of the themes I've worked with, you can go up 2-3 lines (which are normally blank) and you'll find </div>. Hit enter to drop that div down one line and paste your Adsense ad code where that div used to be. (Div's are magical invisible boxes. You want the ad neatly below the page's content, you need to keep it in that div or create a new one and tell it where to go via the style.css file).

gittar1122 is online now   Reply With Quote
Old 11-11-2010, 12:13 PM   #7
Motivationally Challenged
War Room Member
 
deloriagod's Avatar
 
Join Date: Jul 2010
Posts: 360
Blog Entries: 3
Thanks: 38
Thanked 22 Times in 22 Posts
Social Networking View Member's Twitter Profile 
Default Re: stupid wp and adsense question

Quote:
Originally Posted by jonrpatrick View Post
You are "The Man".
I've poked around in those .php's but am certainly no expert. Thanks.
Thank Jon. I'm no expert either, I just play around with the files more and more every day so I learn some useful things here and there

deloriagod is offline   Reply With Quote
Old 11-11-2010, 12:24 PM   #8
Active Warrior
 
Join Date: Nov 2009
Location: Charlotte, NC
Posts: 75
Thanks: 3
Thanked 2 Times in 2 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to jonrpatrick
Default Re: stupid wp and adsense question

funny you say that. Several times I think I've "figured it out" - whether it's blogging, adsense, MLM, etc....
Each and EVERY time it means I'm about to find out how little I truly know and am about to have a major opportunity to grow.
I look back at what I did a year ago and I just laugh.... think I 'figured it out', set up a blog on a popular keyword ENTIRELY confident I'll be #1 in google... and this time can't even get Google to rank it at all.
:0

Jon R. Patrick
Husband, Father, Engineer, Author, MLM Advocate
Visi Wellness MLM
jonrpatrick is offline   Reply With Quote
Old 11-11-2010, 01:46 PM   #9
HyperActive Warrior
War Room Member
 
Amy Harrop's Avatar
 
Join Date: Jan 2009
Posts: 243
Thanks: 112
Thanked 116 Times in 87 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to Amy Harrop
Default Re: stupid wp and adsense question

It might be easier to use a widget so you don't have to go in and edit code. There are several free wordpress plugins that allow you to paste your code in the widget and you can specify top middle or end of post. It will then go on all of your posts, and you can also specify pages. I've found that to be an easier approach then messing around in the code.

In your Wordpress admin just do a plugin search for adsense and you will find different ones. I like Adsense Redux.

Amy Harrop is online now   Reply With Quote
Old 11-11-2010, 02:11 PM   #10
Motivationally Challenged
War Room Member
 
deloriagod's Avatar
 
Join Date: Jul 2010
Posts: 360
Blog Entries: 3
Thanks: 38
Thanked 22 Times in 22 Posts
Social Networking View Member's Twitter Profile 
Default Re: stupid wp and adsense question

Quote:
Originally Posted by Amy Harrop View Post
It might be easier to use a widget so you don't have to go in and edit code. There are several free wordpress plugins that allow you to paste your code in the widget and you can specify top middle or end of post. It will then go on all of your posts, and you can also specify pages. I've found that to be an easier approach then messing around in the code.

In your Wordpress admin just do a plugin search for adsense and you will find different ones. I like Adsense Redux.
With a little practice, the coding for WP themes is usually pretty easy to read. But if you want a difficult one, go take a look at the coding for 2010 Weaver theme. So many editable options, that theme is a mess of code :P

deloriagod is offline   Reply With Quote
Old 11-11-2010, 02:12 PM   #11
Lady WordPress
War Room Member
 
Leslie B's Avatar
 
Join Date: Aug 2007
Location: Belgium
Posts: 1,058
Thanks: 950
Thanked 326 Times in 217 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Leslie B
Default Re: stupid wp and adsense question

I use the Whydowork adsense plugin. I just put the code in the text field of the plugin, tell it where I want it to appear and done. For what you want, you need to choose Single Page - Top. Easy and fast

Leslie

Leslie B is offline   Reply With Quote
Old 11-11-2010, 03:28 PM   #12
SEO Strategist
War Room Member
 
yukon's Avatar
 
Join Date: Jun 2010
Posts: 6,532
Thanks: 355
Thanked 1,992 Times in 1,273 Posts
Default Re: stupid wp and adsense question

If you want the Adsense below the Header-Image, most times you will find that image code inside the header.php file.

Just add your Adsense code below the bit of code that includes the img (image) tag.

You might need to wrap the Adsense code with <center> tags.

Example:

<center>
ADSENSE CODE HERE...
</center>

yukon is offline   Reply With Quote
Old 11-11-2010, 03:50 PM   #13
www.vetwriter.com
War Room Member
 
Audrey Harvey's Avatar
 
Join Date: Dec 2005
Location: Brisbane, Australia.
Posts: 1,220
Thanks: 121
Thanked 338 Times in 256 Posts
Social Networking View Member's FaceBook Profile 
Default Re: stupid wp and adsense question

Quote:
Originally Posted by Leslie B View Post
I use the Whydowork adsense plugin. I just put the code in the text field of the plugin, tell it where I want it to appear and done. For what you want, you need to choose Single Page - Top. Easy and fast

Leslie
I use that plugin too, much easier for technically challenged people like me to add adsense without messing up everything else!

Audrey Harvey is offline   Reply With Quote
Old 11-11-2010, 04:55 PM   #14
Active Warrior
 
Join Date: May 2010
Posts: 94
Thanks: 2
Thanked 8 Times in 7 Posts
Default Re: stupid wp and adsense question

Quote:
Originally Posted by yukon View Post
You might need to wrap the Adsense code with <center> tags.

Example:

<center>
ADSENSE CODE HERE...
</center>
Deprecated tag and doesn't always work.

Use:

<div style="text-align: center;">
ADSENSE CODE
</div>

You may need to add a few line breaks after this: <br /><br />
Nexus7 is offline   Reply With Quote
Old 11-11-2010, 05:04 PM   #15
Advanced Warrior
 
gittar1122's Avatar
 
Join Date: Sep 2010
Location: Internet
Posts: 555
Thanks: 10
Thanked 26 Times in 25 Posts
Contact Info
Send a message via Skype™ to gittar1122
Default Re: stupid wp and adsense question

I think Easy AdSense wordpress plugin can help you.

gittar1122 is online now   Reply With Quote
Old 11-12-2010, 02:35 PM   #16
HyperActive Warrior
War Room Member
 
Azlan's Avatar
 
Join Date: Sep 2008
Location: Malaysia
Posts: 157
Thanks: 6
Thanked 8 Times in 8 Posts
Contact Info
Send a message via Yahoo to Azlan Send a message via Skype™ to Azlan
Default Re: stupid wp and adsense question

wow, there are so many good advice already on this thread... at first i want to offer my help as well, but i guess i do not have too...

- azlan

New WSO - Coming Soon...
Azlan is offline   Reply With Quote
Old 11-12-2010, 02:45 PM   #17
Lady WordPress
War Room Member
 
Leslie B's Avatar
 
Join Date: Aug 2007
Location: Belgium
Posts: 1,058
Thanks: 950
Thanked 326 Times in 217 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Leslie B
Default Re: stupid wp and adsense question

Quote:
Originally Posted by Audrey Harvey View Post
I use that plugin too, much easier for technically challenged people like me to add adsense without messing up everything else!
It's one of the reasons why I started using it, I needed a plugin that most of my clients could work with. That's how I came to this one.

Leslie

Leslie B is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
adsense, question, stupid

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 10:11 PM.