If the location of the wordpress comment is different from that of the recommendation block, an error occurs in the wordpress single. on the php page, I want to add a recommended content section. queries a similar article based on the Category ID of
First, on the personal site of the message page, you can see the effect: Message board
There's also an effect chart here.
In order to save the front end, use jquery to write, backstage use PHP simple read and write MySQL database. database design
WordPress comment and Recommendation block location, will be wrong
On the single.php page of WordPress
I would like to join a recommendation section. is to query a similar article based on the classification ID of the current article and then as a
This time brings you PHP comments syntax specification and naming specification use steps to explain, PHP annotation syntax specification and naming standard use of considerations, the following is the actual case, together to see.
HP Annotation
In this article we will share the PHP comment syntax and naming conventions, and we know that annotations are very important in writing code, that good annotations make your code easier to read, and that you pay attention to the specification of
Comments in the process of writing code is very important, good comments can make your code read more easily, in writing code must pay attention to the specification of annotations, where the script of the small compiled for everyone to tidy up, the
A single-line comment only comments to the end of the line or the current PHP code block, depending on which first appears. This means that the //...? > or # ...? the HTML code after > will be displayed:?> jump out of PHP mode and return to HTML
More reference http://phpdoc.org/docs/latest/index.htmlIn Phpdocumentor, comments are divided into document comments and non-document comments.The so-called document comments, are those placed in front of a particular keyword, the multi-line comment,
This article describes various ways to debug your PHP application, including opening error reports in Apache and PHP, and finding the source of more difficult bugs by placing a strategic print statement in a simple PHP script. It also introduces the
PHP security practices that system administrators must know
PHP is an open source server-side scripting language that is widely used. The Apache Web server provides this convenience: access to files and content via HTTP or HTTPS protocol. Improperly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.