Thursday, 7 October 2010

Inside Adsense in the Midel of post

Today I’ll be posting a step by step guy on how to add Inline AdSense code to the middle of your blog posts. Not only AdSense, but you can use this for Yahoo! Publisher Network ads, Bidvertiser and etc. We’ll be going through all the details and utilizing a plugin, and a simple theme hack to complete the trick which will add AdSense block within all your blog posts, published already and to be be published.

But, first of all, why would you want to add inline AdSense Code? Because that improves your AdSense Ad block visibility. You blog post will wrap around the Inline AdSense slot, so that’ll make sure a good number of your visitors reading the post will ultimately see the Ad – instantly boosting your AdSense CTR…

Ready? Here we go… We will insert a blog of AdSense code to everyone of your posts, making the post wrap around the block, to the top left corner. (I’ll show you how to customize this later in the post)

The Method – Adding AdSense code

1. Copy your AdSense code and keep it in the clipboard.

2. Open your wordpress theme editor and open the Single Post Template (single.php) or whichever the template file for your Single Posts. (We’ll add AdSense only to the individual posts)

How to add Inline AdSense Code to every Blog Post

3. Then find the line of code which says:

4. Got it? Awesome! Now, right before this code, insert a new line and type out the following coding. Replace with your AdSense code. (A screen shot is given below)

How to add Inline AdSense Code to every Blog Post

5. Update your theme changes! And you’re done with adding the AdSense code.

Now, you must be able to see an AdSense code being placed Inline with all your posts to the top left corner.

How to customize the position?

Simple. First, you must understand a few things.

One, the php code you hunted down: “” – resembles the function which will call your blog posts’ text. Not the header, just the text and the body content i.e. Images and etc. So, if you insert the AdSense code after this line, unlike the previous example, you should see the AdSense block after each post.

Two, in the Div Container code: “

” – “float: left;” means that you’d align the AdSense block to the left of the post. To make it align to the opposite end, just replace it with “float: right;”.

So, there you go. I hope you’ll find this useful. If there’s anything you’d like to know or clarify, just shoot me a message.

0 comments:

Post a Comment

Categories

Access Media Collection Add HTML facebook on site addurl Administration Tools Adsense All Cat Anatomy Virus Android Animator Anomymity Anti Virus Applications Install BELAJAR PHOTOSHOP Blog Blufftop CA-CLIPPER INTERNAL ERROR cara cari uang dari internet cari uang dari internet cashfiesta Celebs Computer Desk Computer Hang Computer Icon Computer Management Computer Repair Computer Set Up Computer Tablet Computer Touch Screen Computer Troubleshooting Cookies Cookies Definitions Crack Create DVD Create DVD Maker Create PDF Create PDF using Smart PDF Creator D-Link D-Link Router Definitions of Virus Device Device Manager DNS Doc Protect Dongle USB Drive partitions Drive parts Driver Printer HP DVD compress DVD Drive Earn Money Easy Gif Animator Elastomer Eror Solution Error Computer ERROR Solutions Error windows explorer External Hard Drive Facebook Facebook and Site File Sharing Football Game Free Articles Free Internet GAME Game Sport Googel Google Talk Hack Password Hard Drive Hard Drive Partitioning Healty Help and Support Help Support Household Aplieance How to How to Download HP Lapotop Reviews IM Google Inside Adsense intall Intall Windows 7 Ultimates Internet Internet Browser Internet Explore Ipad Java Programe Java Script JPEG JPG GIF PNG BMP Keyboard Keygen Smadav 8.7 Laptop Laptop Computer Skin Laptop vs PC Life Style Local Area Network Maintanance and Repair Make CD iso Make DVD Make money online Make Money with blog Make Your Own Copy-Protected CD with Passive Protection Messenger and Chat Microsoft Mobile Aplications Mobile Phone Modem MotorSport MOVIE Ms Word Applications MS Word to PDF Ms Words My Computer Network Set Up Networking Office Online Shoping Operating System Partitions drive Password Wifi PC Desktop PDF EDITOR PDF Remover Photoshop Picture Portable Prevent Windows XP Print Printer Error Protect CD from Copy Protect Your Computer Reboot Application Remove Pasword Excel Restore Windows Registry Router Search Engine Index Search Engines Optimizer Security Security System Shortcut Smadav 8.7 Smart PDF Creator Social Networking Software software Protection Solving Probelm Startup Programs SuperBike System Registry System Restore Table Manager Test DVD Test DVD Drive Troubleshooting all Tutorial Tutorial Java TUTORIAL PHOTOSHOP uang gratis dari cashfiesta uang gratis dari internet Upload File to blogger Upload Files USB Install USB REMOVE USB Repair VGA Card VGA Conector VGA Informations Virtual Memory is to Low Virus Viture Windows 7 Watermark What is Cookies Wifi Wifi Pasword Finder Win Pes2011 Windows Windows Device Windows DVD Maker windows explorer cannot open Windows Mobile Wireless Wireless router Word Password Remover words documents cannot open Words error XFBML and HTML Facebook