appthemes_before_respond

This function executes in the comments-[post_type].php file and loads before the custom post type comments respond form.

appthemes_before_respond();

You can use this hook to add things like legal disclaimers or other information your readers should know before 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_before_respond', 'insert_comments_disclaimer' ); 
?>

Changelog

  • since 1.1

Source File

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

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

AdPoster Blocker

A simple but powerful plugin that blocks spammy new user regs and/or…


(5)
$19

Coupon Countdown

Add dynamic countdown to show the expiry time left for each coupon


(3)
$19

Profiler for Vantage

Adds a one page author website to your Vantage theme.


(6)
$39