-
▼
2012
(336)
-
▼
October
(28)
- How to Load a WordPress Backup
- How to Redirect in Wordpress
- How to Put a Theme to a WordPress Blog
- How to Insert a Read More in WordPress Posts
- How to Turn Excerpt Off in WordPress 2.9.2
- How to Embed Images in Comments in WordPress
- How to Restore a WordPress Blog From EZ Backup
- How to Remove Featured Image
- How to Create a Free WordPress Blog Badge
- How to Check the RSS Outputs for WordPress
- How to Make Your Own Free WordPress Template
- How to Export Content From WordPress to Tumblr
- How to Change the Theme of a Wordpress Blog
- How to Export WordPress to Facebook
- How to Change WordPress Permalinks for Split Posts
- How to Embed YouTube in Thesis WordPress
- How to Make a New WordPress Blog
- How to Set Thumbnails in WordPress
- How to Convert Wordpress to a Doc
- How to Teach Yourself WordPress Visually
- How to FTP a Static Page in WordPress
- How to Install a Chat Room in WordPress
- How to Load an Artisteer Template to Wordpress
- How to Import Drupal Into WordPress
- How to Set Up the Mochi Plugin for WordPress
- How to Change a Sidebar Background Color With a Wo...
- How to Install Wordpress on Yahoo Hosting
- How to Insert Banners in Between WordPress Posts
-
▼
October
(28)
adsense
How to Insert Banners in Between WordPress Posts
1. Open the 'Appearance' menu on the left side of the WordPress dashboard, and then click 'Editor.'
2. Click the 'Main Index Template' link on the right side of the page to edit the index.php file for your WordPress theme.
3. Locate the code '
' or '
' in the main area of the page. If you do not see either of these, click 'loop.php' on the right side of the page to edit that file instead of index.php. Place the cursor at the beginning of the line, and then press 'Enter' to create a new blank line above the code. Move the cursor to the blank line.
4. Enter the code
in the blank line. Copy the code from this article to avoid a typing error. Edit the number after 'showads' to change where the banner advertisement is shown on your website. To display the advertisement after the third post, for example, change the code to 'showads = 3.'
5. Locate the code '
' or '
' in the file, and place the cursor at the start of a blank line immediately above the code.
6. Type
(ad code)
in the blank line. Change '(ad code)' to the code received from your advertising partner to display the banner, removing the parentheses and words 'ad code.'
7. Click the 'Update File' button at the bottom of the page.
9:21 AM | Filed Under | 0 Comments
Post a Comment