Category: php
In wordpress pages/posts, there is a comment form that allows users to post comments. The API for this is comment_form(), which can be found in theme template file comments.php. …
My initial VPS (Virtual Private Server) only had 512M RAM, 1 core and 10G HDD. Later I upgraded to 2 cores, 1G RAM and 20G HDD because of an …
I sometimes need to copy the posts to somewhere for easy sharing purpose and at the end of the post, I will point out the URL for the original …
In ASP, the code is wrapped with <% … %> to distinguish from HTML code. The code is executed dynamically at server side before sending pure HTML to the …
Almost every wordpress theme has a footer.php file that contains the layout for the page footer. You can insert the following PHP+MySQL code to display some statistics of the …