When using redirect jump in php, “warning: cannot modify header information–headers already sent by (output started at …)” is a common error reminder. The reason for this error is that there are outputs including carriage return, space and line feed…
Author: zqpm
The default sorting of WordPress is based on the publication time of articles. Sometimes we need to sort in other ways, or provide the function of sorting in other ways. If it’s just a basic sort, such as according to…
Markdown is very easy to use, especially for writing articles, pasting codes is more convenient and efficient. There are many tutorials in my station, and sometimes some friends fail to operate, and then it is very troublesome to send the…
If you write a blog seriously, there will definitely be times when you quote other articles in your station. At this time, we usually use an A tag directly. Although this has solved the problem, we can have a better…
If you don’t address WordPress in depth and only use pure wordpress and default themes, the efficiency of wordpress is still good. When you make deep customization and use some themes or plug-ins with poor performance, the performance may be…
A long time ago, the pagination of page numbers needed custom functions or plug-ins. I don’t know which version started, but WordPress has provided the paginate_links () function, and those functions written by myself can be laid off. The function…
We know that the default WordPress only retrieves articles and pages, and will not retrieve other things such as users, categories, tags, etc. For ordinary blogs, only retrieving articles is enough, and even searching is redundant. However, for sites with…
Recently, when I was working on a project, I encountered a small demand. When the content of the article was updated, I needed a striking reminder. After a little thinking, wordpress has a record of the update time. Just compare…
When query_posts is used to output the ranking of top articles on the home page, the latest top articles will appear and need to be excluded. However, after opening wordpress debugging mode, it is found that WP gives the following…
When query_posts is used to output the ranking of popular articles on the home page, the latest top articles will appear and need to be excluded. However, after opening wordpress debugging mode, it is found that WP gives the following…