Pjblog three popular advertising bits adding code

Source: Internet
Author: User
Keywords Advertising position

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

My "Build Station Learner" blog site is a good Pjblog program, a friend asked, in the Pjblog program to join the Google Alliance Advertising Code method, below the blog I joined the Google Alliance and Ali mother advertising methods are summarized as follows, This method at the time of their own operation is to refer to the online data to operate, practical, we can also see the effect on the Internet, where the navigation bar below the Google search ads are using JS code, due to the time relationship, no longer introduced.

This blog launch of the code ads about three locations, are: Side bar (right) advertising, content page (including home) top, the bottom of the ads, the content of the page ads. The following introduction to add code ads, of course, Pjblog program can add ads to the place not only in these three, there are more places to add code, but these three ads are the hottest, the effect is better:

One, side bar advertising bit

Enter admin backend, interface and plugin-Setup module-Add new module, create a new "side module", your ad location is entirely set by the numerical decision. You can paste the code of the Affiliate ads in the HTML editor, and after you save it you can see your ad in the side bar of the site.

Second, content page (including home) top, bottom advertising

Methods Ditto, only this time, it should be the "Content module" page is not "side module", to display above, you only need to set the number to the minimum, to the bottom of the display, just set the value to the maximum, the code of the Federation ads paste in the HTML editor, After you save, you can see your ad at the top and bottom of the website content page (including home).

Third, the article content page advertisement position

Open the cls_article.asp file under the class folder and find the <div id= "Logpanel" class= "Content-body" > this line with the following red section below:

<div id= "Logpanel" class= "Content-body" >
<div id= "Vad" class= "Paper01" style= "Float:right"; >
<div class= "Aditem_paper01" >

(Your Advertising code)
  
</div></div>


In the above code, if you use the style= "float:right;" is to set the advertisement on the right side, and if you change it to left, you set the advertisement on the left-hand side. Background settings in the static before the hook removed, and again

This article is published by wslearner.com according to the network related data

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.