appthemes_after_comments

This function executes in the comments-[post_type].php file and loads after the have_comments() if statement.

appthemes_after_comments();

You can use this hook to add things like legal disclaimers or other information your readers should know after commenting.

<?php
function insert_comments_disclaimer() { 
    echo '<div class="disclaimer">' . __( 'Comments will be moderated and approved upon author\'s discretion.' , 'appthemes' ) . '</div>';
}
add_action( 'appthemes_after_comments', 'insert_comments_disclaimer' ); 
?>

Changelog

  • since 1.1

Source File

appthemes_after_comments() is located in comments-[post_type].php.

Your rating: none
Rating: 1 - 1 vote

Popular Add-ons

Daddy Like

A fast, lightweight, and elegant "like" system for comments, pages, posts,…


(12)
$19

StarStruck

A fast, lightweight, and elegant star rating system for comments, pages,…


(33)
$19

AutoResponder AutoRegistration

Automatically integrates WordPress registration with major autoresponders.


(5)
$39