Add petal falling special effect to WordPress theme WordPress

Add petal falling special effect to WordPress theme

The last article is celebrating the New Year, hanging lanterns! Teach you to hang an animated lantern on your blog. Maybe you think it's fun, then share a special effect of falling petals, which can be added to your blog to decorate the festival atmosphere. Click the following figure to view the animation effect. Paste the code first, and then download the packaged file
five hundred and ninety-eight million eight hundred and forty-five thousand and six
 WordPress randomly displays local avatar WordPress

WordPress randomly displays local avatar

The problem of slow loading of Gravatar avatars has been puzzling us all the time. It may be the only feasible way to enable local caching of avatars or cache them on a cloud like Qiniu Cloud. Another depressing thing is that many commenters have not applied for Gravatar avatar and can only display WordP
 Replace the icon of the sharing tool WordPress

Replace the icon of the sharing tool

At present, the commonly used social sharing tools are Baidu Share and JiaThis. In particular, this JiaThis is old enough to provide free tools for everyone after Baidu joined this field. Here are 32 likes! With the change of the times, these sharing tools come with
 Show WordPress Login User Role WordPress

Show WordPress Login User Role

Following the WordPress Foreground Display the Last Login Time of the Login User and WordPress Foreground Display the Registration Time of the Login User, further improve the information of the login user at the front desk. This article shares a section of WordPress code showing the role of the login user. Change the following
 Automatic renaming of uploaded files in WordPress WordPress

Automatic renaming of uploaded files in WordPress

It is recommended that two pieces of code be automatically renamed when uploading media files. Code 1: renaming the uploaded file by time will rename the file in the format of "Year Month Day Hour Minute Second+Thousand Milliseconds Integer", such as "20161023122221765. jpg"//wordpres
 25 free WordPress corporate themes Themes

25 free WordPress corporate themes

According to foreign statistics, 80% of the pirated commercial charging topics have backdoors. For example, the article I wrote earlier, "Be careful! There may be backdoors in pirated topics". For those who have some programming knowledge, it is still easy to play tricks on Xiaobai. Here are some free WordPress for companies and enterprises
 Add ALT attribute to Gravatar avatar WordPress

Add ALT attribute to Gravatar avatar

The ALT attribute of an image is not only helpful for search engines to index images, but also displays the ALT information of an image when it cannot be loaded. When inserting pictures into WordPress articles, you can fill in ALT information in the "alternative text", but a large number of Gravatar avatars in comments are generally
 Embed pictures in WordPress comments WordPress

Embed pictures in WordPress comments

Sometimes you need to add pictures to make comments, but WordPress itself does not have the function of comment mapping. You can add the following code to the current theme functions.php file: add_action ('comment_text ','com