Place ads on your wordpress blog
Written by Samuro on July 12th, 2007 in Scripts & Programming, WordPress.
Some method and type to place ads on your wordpress blog
1. Sidebar Ads
Sidebar contain two widgets; left navigation and right navigation
To place ads on sidebar (wp-content/themes/theme_name/sidebar.php), just insert your ads code before :
<?php if ( function_exists(’dynamic_sidebar’) ?>
your ads will appear on all pages; home page, pages and single post.
2. Ads between post on home page
Ads repeated, so your ads will appear on all post at home page.
To place ads on home page (wp-content/themes/theme_name/index.php), just insert your ads code before :
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
your ads will appear on all posts before content.
Or, insert your ads code before :
<?php endwhile; else: ?>
your ads will appear on all posts after content.
Determined Ads, so your ads will appear on certain post at home page.
Open (wp-content/themes/theme_name/index.php) and insert :
<?php $postnum = 1; $showads = 2; ?>
before :
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
then insert :
<?php if ($postnum == $showads) { ?>
YOUR ADS
<?php } $postnum++; ?>
before :
<?php endwhile; else: ?>
your ads will appear on home page in the second post ($showads variable).
3. Ads between post on single page
Open (wp-content/themes/theme_name/single.php) and insert YOUR ADS after :
<?php the_content(”); ?>
Or, you can use adman plugin. This plugin providing three options :
1. Ads code to appear before your post content
2. Ads code to appear in the middle (calculated) or where you specify
3. Ads code to appear after your post content
At Last,
A blog should be about the main subject matter and whatever someone wants it, and not full of advertising that will break up the reading of a post. Don’t place your ads that bothering/break up reading a post, it’s felt to disturb if the ads placed in the middle of a post.
Popularity: 13% [?]
Additional Resources :
There are many companies that provide various services related to financing problems. For instance there are companies which specialize in arranging good home refinance loans for people. Then there are companies which provide services for low uk insurance rates on health and homes, not to mention car insurance cheap loans. Other than that there are service providers which get you out of your bad credit, and not only that but also try to wipe you previous bad credit loans history clean. All the latest bank rates for loans can be found with these companies as well. To say the least there is an immense competition between all these companies, and they are always looking for people to market their business hence creating a great work at home opportunity.






















