Adding Advertise to WordPress Site

in #tutorial7 years ago

 
Most websites come in large revenues from advertising. Many people build sites based on this income only, do not do other business through the website. That's why many free services sites are available.

 

The free WordPress site (wordpress.com) can not be used for advertising. It's not enough to do that, it's not enough, if you try somehow, it's the custom of getting them free of charge. So do not try to use advertising on the site. Assuming you are using your own hosting. If you have been contacted by an advertiser whose ads are placed on the site, you will receive the money. Learn how to add the advertise.

 
Adding Ads to Sidebar 

 

The job is very simple. In most cases, some code has to be used for advertising. Add text widget to your sidebar and copy the ad code there. How to add a widget is mentioned in the previous tutorial.

 
Add ads in the post 

 

Many people used advertisements in the middle of the two posts. To do this, copy the ad code and paste it into the CSS file. 

. Click on the editor link on the dashboard.
. Open index.php by clicking on it.
. <php if (have _posts ()):?> search the text. Place cursor just before it.
. Cursor space <? Php $ count = 1; ?> Type it
Because of the first post, the ads will be shown after the first post. Here you can use another number.
. <! - end .entry -> Find articles.
. Paste the code after typing.
. Save the changes with the updated file command.
This will show the post in your blog after a specific post.

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 60023.73
ETH 3191.15
USDT 1.00
SBD 2.45