stupid wp and adsense question

by 16 replies
18
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
#search engine optimization #adsense #question #stupid
  • 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.
    • [1] reply
    • 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).
      • [ 1 ] Thanks
      • [1] reply
  • 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.
  • If you want to add Adsense unit below header image, you have to edit your WP theme. Deloriagod explained it in a good manner

  • 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
    • [1] reply
    • 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.
      • [1] reply
  • 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
    • [1] reply
    • I use that plugin too, much easier for technically challenged people like me to add adsense without messing up everything else!
      • [1] reply
  • Banned
    [DELETED]
    • [1] reply
    • 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 />
  • I think Easy AdSense wordpress plugin can help you.
  • 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

Next Topics on Trending Feed

  • 18

    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?