Sunday, February 26, 2012

How to Use Google's AdSense With WordPress





Setup
1. Log into your Web hosting account. Install the WordPress package in the root directory of your domain, such as yoursite.com or wherever you wish to install your WordPress blog. Follow the instructions of your Web hosting provider. When you install WordPress, note your administrator user name and password.
2. Log into your Google AdSense account. Click 'My ads' on the menu and then click 'Get code' under the name of the ad unit you want to use. Click the code, right-click and select 'Copy.'

3. Sign into your WordPress account using your administrator user name and password.
Sidebar
4. Look on the left navigation bar in WordPress. Click the drop-down arrow next to 'Appearance.' Click 'Widgets.'
5. Click the sidebar where you want to insert the AdSense ad. For example, click 'Sidebar 1.'
6. Look in the 'Available Widgets' area. Click and drag 'Text' over to the sidebar. When the dotted outline of a rectangle appears, drop the text widget.
7. Drag the widget up or down to position it where you want the AdSense ad. If there are other widgets in the sidebar, as there usually are, you will probably want to move the newly added widget to where you expect it to get clicks without disturbing user experience.
8. Click the drop-down arrow next to the 'Text' label. Enter a label for the widget, such as 'Advertisement.'
9. Right-click the main input box. Click 'Paste' to transfer the AdSense code into the widget.
10. Click 'Save.' Click 'Close.'
11. Click the name of your WordPress site on the top left of the page to view your blog. It may take a few minutes before Google generates ads for the unit.
Single Post
12. Click the drop-down arrow next to 'Appearance' and then click 'Editor' to open the 'Edit Themes' page.
13. Click 'Single Post' on the list of PHP files on the right.
14. Scroll down the code area to find the following line, or similar:
Read the rest of this entry ;
'); ?>
15. Right-click and hit 'Ctrl' and 'V' to paste the AdSense code below the above line. This will place the ad immediately below the WordPress post content. You can also add formatting such as '
' to align the ad as you like.
16. Click 'Update File' to save the changes.
17. Click the name of your site on the top left of the page. Click a post title to see how the AdSense ad appears on a single post.

adsense tips Copyright © 2011 | Template created by O Pregador | Powered by Blogger