Adsense in posts plugin

by Banned 7 replies
8
Hello i am looking for a legit plugin that will Automatically display my adsense code in my wordpress posts. If anyone knows one please let me know thank you.
#website design #adsense #plugin #posts
  • Hi Niche_Boy,

    you might want to review:

    User:Tomhanna/Adding Ads to Wordpress « WordPress Codex

    and

    WordPress - add Adsense to your blog

    Cheers,
    ~Albert
    • [1] reply
    • Banned
      Hey thanks thats great, but im specifically looking for something that will Automate the process for me instead of having to copy & paste my code each time i want to make a post. :p
  • Try this:

    Login to your AdSense account and create a new AdSense code. I used a 336X280 format
    Login to your WordPress Administration panel
    From the navmenu click Appearance > Editor
    From the Theme Files section, select Single Post (single.php)
    Within the theme editor window, scroll down to where it says <div class="entrytext">
    Directly below <div class="entrytext"> add your AdSense code

    Click the Update file button and go view your site!

    (Optional) You can surround the code with <div></div> tags. This will allow us to position the advertisment where we want it. See the example code below.

    Left side placement example:

    Code:
     
    <div style="float:left; padding-top:20px; padding-right:10px;"><script type="text/javascript"><!-
        google_ad_client = "pub-1234567890";
        google_ad_slot = "1234567890";
        google_ad_width = 336;
        google_ad_height = 280;
        //->
        </script>
        <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script></div>
    If you want the Google ad to float right, change float:left to float:right. If you don't want to position the code left or right just surround your code with the <div></div> tags

    Cheers,
    ~Albert
  • Are you looking for a solution to automatically show ADS between the posts (and not just between two post entries on index pages)? I am also looking for the same.
  • great tips albert! thanks! thats just what i'm looking for!
    • [1] reply
    • Your welcome


      Here is a plugin i was doing a research on WP site.

      I have download it.... to test this out...

      WordPress › Advertising Manager « WordPress Plugins

      Screenshot - I'm not sure if this is tested on the 3.1 and higher
      1. Manage Your Advertising in WordPress 2.7
      2. Create ad in WordPress 2.7
      3. Edit ad in WordPress 2.7
      4. Ad settings in WordPress 2.7
      5. Manage Your Advertising in WordPress 2.5
      6. Create ad in WordPress 2.5
      7. Edit ad in WordPress 2.5


      This might be useful

      Cheers,
      ~Albert
  • My favorite for this job is MIGHTY ADSENSE also works with other adds to.

    Regards,
    daSSad

Next Topics on Trending Feed