Plugin Directory

Custom Comment Form Title

Engage your visitors and initiate discussion with more meaningful comment form titles, created on a post-by-post basis!

My custom titles aren't displaying.

Some frameworks overwrite the comment_form_defaults function with a new, unique function. Check the plugin settings page for a list of frameworks this plugin has been developed to work with.

What if my framework isn't listed?

Try the plugin and see if it works. Your framework may not replace the default comment_form_defaults function. If the plugin doesn't work, leave a comment in the forum and, with your help, I can work on updating the plugin to work with a wider variety of frameworks and themes.

I'm not using the comment_form() function, can I modify my comments.php file so this plugin will work with my theme?

Yes! Somewhere in your comments.php file you should see a line of code that looks similar to this:

<?php comment_form_title( __('Leave a Reply'), __('Leave a Reply for %s') ); ?>

If you replace that line of code with the follow snippet you should be able to use Custom Comment Form Titles with your website:

$post_id = get_the_ID();
$post_comment_title = get_post_meta( $post_id, 'ccft_post_comment_title', true );
if( !empty( $post_comment_title ) )
    $ccft_comment_title = sanitize_text_field( $post_comment_title );
else {
    $ccft_admin_options = get_option( 'custom_comment_form_title' );
    $ccft_comment_title = esc_attr( $ccft_admin_options['default_title'] );
if( !empty( $ccft_comment_title ) )
    echo '<h3 id="reply-title" class="comment-reply-title">' . $ccft_comment_title . '</h3>';
else {
    echo '<h3 id="reply-title" class="comment-reply-title">';
    comment_form_title( __('Leave a Reply'), __('Leave a Reply for %s') );
    echo '</h3>';

Requires: 3.5 or higher
Compatible up to: 4.0.7
Last Updated: 2014-9-4
Active Installs: 1,000+


4.6 out of 5 stars


0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.