Today is the 17th, Christmas is coming soon, Good VPS is here to wish everyone a Marry Christmas in advance~ Everyone has a good mood.
I was wandering around the Internet and found a fun plug-in: Christmas Snowmanwp-christmas. The author of the plug-in even wrote it for friends who don’t want to use the plug-in, or who don’t use WP. Once the code is ready, you can achieve the plug-in effect by just changing the code, which is really good.
wp-christmasPlugin:
Description » This plugin create Christmas snowman Wish everyone a Merry Christmas! And have beautiful falling snow flakes on the blogs.| A pair of snowmen Merry Christmas to everyone! It’s snowing lightly.
Plug-in author homepage and demonstration» http://liucheng.name/1166/
DownloadClick to download
Instructions for use: Download and unzip, then upload wp-content/plugins directory. Activate it in the background and it will work. There are detailed parameter settings in the background. You can choose to display it on different pages (homepage, directory, tags, etc.).
If you don’t want to install plug-ins, or if you are not a WP blogger, please see: Universal version
It doesn’t matter if you don’t like to use plug-ins, or are bloggers who don’t use WP blogs. Here's a general version. It's just a code.

<div id=”MagicFace” Style=”POSITION:absolute;Z-INDEX:99;visibility:hidden;”><script language=”JavaScript” src=”http://liucheng.yun.im/wp-content/ plugins/wp-christmas/wp-christmas.js”></script></div>

Place this code between <body></body>. Remember! !
If it is a WordPress blog, it is recommended to place it before </body> of footer.php.
If you want to subdivide it a little further and only want to display it on the homepage, you can change it to:

<?php
if( is_home() ){
print '<div id=”MagicFace” Style=”POSITION:absolute;Z-INDEX:99;visibility:hidden;”><script language=”JavaScript ” src=”http://liucheng.yun.im/wp-content/plugins/wp-christmas/wp-christmas.js”></script></div>’;
}
?>

It is really an interesting plug-in, and the author is also very good. If you have other needs, such as wanting to put it on different pages, but you don’t understand the code, you can also leave a message to the author and he will take the time to help you~


Hong Kong/United States/Domestic High Speed ​​VPS

postid
5344

Leave a Reply