We make a website that is going to keep giving visitorsprovide the best user experience, whileEnhance your brand's value, and the end of the article the function of the classic quotations, can achieve the effect we want to achieve. such as
Add the classic quote feature to your WordPress blog
How does this happen? In fact, it is very simple, I will share the core files and code to everyone.
The first step: Add the core file of the quote function.
Add a Yulu folder to the root of the Web site containing index.php and yulu.txt two files. Where index.php inside is the core code, Yulu.txt is to display the classic quotations, one line occupied.
At the end of the text for free to download all the files, given the download file inside there is a number called Yulu888.txt file has a lot of online download quotations, anyway I do not, I completely use their own custom.
Step Two: Add the display code to the specified display location.
I'm using the robin's begin template, and I put the location of the classic quotes in the appreciation below, i.e. add this code at the bottom of the begin\template\social.php.
<!--Classic Quote function Start-
<div>
<script type="Text/javascript" src="Https://www.yangzeye.net/yulu/?format=js&charset=utf-8" ></script>
<div id="Yulu"><script>yulu () </script></div>
</div>
<br>
<!--the end of the classic quote feature
Of course, in order to show a little more beautiful, you can add CSS code in the current topic begin: Style sheet (style.css) of the blog, such as:
#yulu {
border-left:5px solid #2f889a;
border-right:5px solid #2f889a;
Background-color: #ebebeb;
Padding:10px;text-align:center;
Color: #095AD4;
margin:5px 0 5px 0;
}
Well, to your WordPress blog to add Classic features, suitable for all of the PHP Web tutorial to this end, directly below click Download it!
Source: Ze Industry construction Station Network
This article by Tze Industry original, published in 51CTO blog
Yang Zeyi: Add Classic quotes to your wordpress blog for all PHP sites