Created
March 20, 2017 07:16
-
-
Save Kaiderella/b62ab6741350f0aa5a198c6ad2283853 to your computer and use it in GitHub Desktop.
Comments policy
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 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment