This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define ('AUTOSAVE_INTERVAL', 160); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define ('WP_POST_REVISIONS', false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define ('WP_POST_REVISIONS', 3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define ('EMPTY_TRASH_DAYS', 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define ('EMPTY_TRASH_DAYS', 7); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Comments policy | |
add_action( 'genesis_after_comments', 'sp_comment_policy' ); | |
function sp_comment_policy() { | |
if ( is_single() && !is_user_logged_in() && comments_open() ) { | |
?> | |
<div class="comment-policy-box"> | |
<p class="comment-policy"><strong>Lưu ý:</strong></br>> Không sử dụng từ khóa trong mục "Tên". </br>> Hãy sử dụng tên thật và địa chỉ email của bạn.</br>> Vui lòng bình luận bằng tiếng Việt có dấu.</p> | |
</div> | |
<?php | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://rpc.pingomatic.com/ | |
http://bing.com/webmaster/ping.aspx | |
http://ping.blo.gs/ | |
http://blog.goo.ne.jp/XMLRPC | |
http://blog.with2.net/ping.php | |
http://blogping.unidatum.com/RPC2 | |
http://blogpingr.de/ping/rpc2 | |
https://ping.blogs.yandex.ru/RPC2 | |
http://blogsearch.google.ae/ping/RPC2 | |
http://blogsearch.google.at/ping/RPC2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
phpinfo (); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo wpcb_count_user_comments(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wpcb_count_user_comments() { | |
global $wpdb; | |
$count = $wpdb->get_var( | |
'SELECT COUNT(comment_ID) FROM ' . $wpdb->comments. ' | |
WHERE comment_author_email = "' . get_comment_author_email() . '" | |
AND comment_approved = "1" | |
AND comment_type IN ("comment", "")' | |
); | |
return $count . ' comments'; |