Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //* Add a comment policy box in comments
- add_action( 'genesis_after_comments', 'topleague_comment_policy' );
- function topleague_comment_policy() {
- if ( is_single() && !is_user_logged_in() && comments_open() ) {
- ?>
- <div class="comment-policy-box">
- <p class="comment-policy"><small><strong>Comment Policy:</strong>Zero tolerance for spammy comments.</small></p>
- </div>
- <?php
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement