-
▼
2011
(334)
-
▼
December
(30)
- How to Embed an MP3 Player in WordPress
- How to Edit Php.Ini Files in Wordpress for File Sizes
- How to Enable Thesis Avatars in WordPress
- How to Use Microsoft Expression With WordPress
- How to Change the WordPress Prefix Post Installation
- How to Share Music on Wordpress
- How to Use Redirects in WordPress
- How to Create a Magazine Theme for WordPress
- How to Change the Avatar Gravatar in Wordpress
- How to Format Yahoo! Pipes RSS for WordPress
- How to Change H1, H2 H3 Header Tags in WordPress
- How to Blog to WordPress via iPhone
- How to Make a PSD WordPress Theme
- How to Use WordPress Database Multiple Places
- How to Redirect a WordPress Tab
- How to Load My Logo to My WordPress Blog
- How to Insert a PNG in WordPress
- How to Connect Pages to the Footer in Wordpress
- How to Make Your WordPress Blog More Google Friendly
- How to Insert Adsense Code Into a WordPress Blog Post
- How to Insert Bookmarks in WordPress
- How to Send a Tumblr Feed to WordPress
- How to List Tags Without Links in WordPress
- How to Change the Tagline of a Post in WordPress
- How to Convert a Compendium Blog to WordPress
- How to Add a WordPress Blog to Your Zen Cart Store
- How to Change Avatars for Users in WordPress
- How to Change a Wordpress URL
- How to Create a WordPress Template Page
- How to Remove a Byline in WordPress
-
▼
December
(30)
adsense
How to Insert Adsense Code Into a WordPress Blog Post
1. Log in to Google AdSense and click 'My ads' to go to your AdSense ads. Click 'Get code' under the name of the ad you want to put in WordPress. When the pop-up box opens, click the text, right-click and click 'Copy' to copy the code. Click 'Close.'
2. Log in to WordPress. Click 'Appearance' and 'Editor.' When the theme editor loads, click 'Single Post (single.php)' or similar name under 'Templates' on the right of the page.
3. Look for a line similar or identical to the following piece of code in the PHP file. Note that the 'the_content' line indicates where the blog post content is placed:
Read the rest of this entry
'); ?>
4. Click above that line of code if you want the AdSense ad to appear above the post content. Click below that line of code instead if you want the AdSense ad to be shown below or after the post content.
5. Type HTML code to create formatting for the code before you insert it. For instance, type '
' without the quotes to make sure that the ad will be in the center when you place it.
6. Right-click and click 'Paste,' or hit 'Control' and 'V' simultaneously to paste the AdSense code. Close the HTML tag or tags you added. For example, type '
' to close the
tag.
7. Click 'Update File.'
8. Type the Web address of your WordPress blog in the browser location bar to visit the blog, or click its name on the top left of the WordPress admin page. Click any post to see how the AdSense ad looks on it. A blank space may appear at first, because it takes some time for ads to be generated according to the keywords in the post.
4:29 AM | Filed Under | 0 Comments
Post a Comment