In productionWordPressWhen the theme is often met, how to be inWordPressThe category page displays the subcategories under the current category or displays the subcategories of the category on the article page,Especially when doing Chinese enterprise theme, we must use this skill。Today, I’d like to share with you the functions that I used to call subcategory […]
Tag: php
The method of forbidding the automatic saving of WordPress articles
Before, Xiao Bian talked about it《solveWordPressarticleidA simple method of discontinuity》Mentioned inWordPress自动保存article的时间间隔的问题,And today we are talking about direct prohibitionWordPressarticle自动保存的方法,The method is simple,And it’s focused onfuntions.phpIn the file,The advantage is thatwpThere is no need to reset after the version is updated! Now let’s ban this function! Put the following code in theWordPressThematic funtions.phpwithin,Pay attention to the last […]
WordPress 3D rotating tag cloud
This 3D tag cloud is not the flash version of WP cumulus n years ago. This 3D rotating tag cloud is completely written in JS code, which is very small and only a few kilos. There is no need to worry about the resource consumption of garbage flash. See the specific effect of the sidebar […]
Using wampserver tool to build local PHP + MySQL environment
No matter whether we use domestic space or foreign hosts, we prefer to go online after local debugging before setting up the website. In the past, we only need to load IIS components in the installation disk to debug the local ASP environment. However, in recent years, PHP has gradually become the mainstream language. Whether […]