As a powerful blog system, WordPress is widely used to build blogs, and thanks to her great commenting functionality, users can leave comments onto entries and pages, they will be required to leave their nicknames, URLs and email addresses, which enable webmasters to contact them. However, on WordPress Dashboard -> Comments, we can only see [...]
1. Premise 1) Nest must be supported by current theme. 2) Set the sorting order for nest comment as from new to old. 3) Use callback function mytheme_comment in the theme (http:/codex.wordpress.org/Template_Tags/wp_list_comments) 2. Transform callback function 1) Before transformation. function mytheme_comment($comment, $args, $depth){ $GLOBALS['comment'] = $comment; ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>"> [...]
The information of commenters’ browsers and operating systems, which makes no sense to majority of users, will be stored in comment_agent under wp_comments of WordPress Database, so it is sometimes necessarily to prevent comment_agent from recording and remove data, the size of database would be reduced then. To achieve this, we need to find the [...]
Nearly all the WordPress Bolg include Gravatar. After inputting Email address into the comment box, visitor can see the avatar when submitting the comments. But have you ever considered showing the Gravatar currently? That to say, the moment you finish inputting email address, avatar shows in the comment box. Isn’t it friendly and particular? Let’s [...]
Did you ever found that there were constantly spam comments on your websites, and obviously they were sent by robots? Although Akismet plug-in on your sites can prevent lots of spams, there are still so many spams for it to deal with them all. Generally, thousands of spams show up on a good blog each [...]
Recent Comments