»WordPress»The New Year is coming, add a snow effect to your website
JQuery Snowfall is a snow action library, which is divided into jQuery version and pure js version. It can easily add a small snow function to the website.
preface
Some time ago, it snowed here, and we sighed that a year has passed. Looking at the snowflakes outside, Cloudfall also turned on the snow function for its own website, and found that it failed, of course not, because the jQuery was loaded to the bottom, so it failed, so we renewed the snowing device.
introduce
JQuery Snowfall is a js snowflake library directly searched by Cloudfall in the bootCDN. The code is very simple and refined. It can be divided into the jQuery version and the pure js version. Cloudfall uses the pure js version here, mainly because the pure js version has slightly less code and has no dependencies.For more usage methods of this js, see the following link
It is very simple to use in WordPress. Just load the js and configuration code directly. Considering that many people prefer to add them directly in the function file, just use the hook.
Cloudfall found a problem when using this js. It should be regarded as a bug, that is, when pulling to the bottom, because every snowflake is a div, the page at the bottom will tremble. But considering that the snowflake special effect is not used much, so let's do it
The website theme is very, very good. It's perfect to modify the user center. After logging in, you can enter the user center. The user center page is great. That is, you can open the management control (change the avatar), enter the wordpress page management, and enter the user center to hide the wordpress management page,When the user logs in to the user center and clicks Manage, the wordpress page is not visible, and the user center is displayed directly.All modification operations are carried out in the user center of the website theme.