Only administrators are allowed to view comments in WordPress background WordPress

Only administrators are allowed to view comments in WordPress background

The default WordPress allows administrators to view comments in the background and even contributors, which is really unreasonable. If you only want the administrator to have permission to view the comments in the background, you can add the following code to the current topic function template functions.php
five hundred and ninety-eight million eight hundred and forty-five thousand and six
 WeAvatar's most complete avatar service in China WordPress

WeAvatar's most complete avatar service in China

WeAvatar is currently the most complete avatar service in China, which perfectly replaces Gravatar avatar and solves the pain point that has plagued domestic WordPress users for many years. At present, WeAvatar avatar service is used on this site. Add your own special avatar
 Resolve the data confusion of multi site object cache Redis WordPress

Resolve the data confusion of multi site object cache Redis

Enabling Redis object caching can significantly reduce database queries. For example, the Redis Object Cache, a common WordPress object cache plug-in, needs to install the Redis extension for PHP before enabling the plug-in. Take the commonly used pagoda panel as an example: software store
 Customize WordPress media file upload time WordPress

Customize WordPress media file upload time

WordPress will automatically use the current time as the timestamp when uploading media files. If you want to customize this timestamp, you can add the following code to the current theme function template functions.php: function zm_custom_upl
 Temporarily bypass Autooptimize plug-in cache WordPress

Temporarily bypass Autooptimize plug-in cache

The Autooptimize plug-in is used to optimize the compression of CSS, JS, etc. to make the website load faster. The optimized compressed web page source code becomes crowded, which is not conducive to viewing. To view the original source code temporarily, just add the following after the web page address of the source code you are viewing:? ao_n...
 Website log analysis tool 360 star map WordPress

Website log analysis tool 360 star map

The website log analysis software in the pagoda software store is generally charged. Here we recommend a very useful free website access log analysis tool 360 star map, which can effectively identify web vulnerability attacks, CC attacks, malicious crawler scanning, abnormal access and other behaviors. One click automatic analysis, output safety points
 Prevent website content from being crawled by search crawlers through Ajax WordPress

Prevent website content from being crawled by search crawlers through Ajax

For example, if some content of the website only wants to be seen by the viewer, rather than being crawled by the search crawler, the page content can be dynamically loaded through Ajax instead of being displayed directly in HTML, and the hidden content can not be seen in the page source code, the search crawler will not normally recognize the content loaded by Ajax, and naturally there is nothing
 Check whether WordPress articles have special pictures WordPress

Check whether WordPress articles have special pictures

WordPress's built-in feature image function is used to generate thumbnails, but by default, WordPress does not provide us with the feature image function to view an article. You can use the following code to display the feature image of an article in the background article list. Will replace
 Menu Caching plug-in: Menu Caching Plugins

Menu Caching plug-in: Menu Caching

Every time a menu item is added, there will be one more database query, so it is necessary to cache the menu. Here we recommend a menu caching plug-in, Menu Caching, which can be used together with other static caching plug-ins or used separately. Usage: After enabling the plug-in, enter W