Comment plus plugin does not work

Refer to title.


  • Timothy
    • Chief Pigeon

    Hey there.

    The Comments Plus hooks in via default WordPress standards, so it would seems that maybe the theme isn’t quite following the standards or there is some kind of conflict somewhere.

    Not to worry, you can place this manually in your theme, finds where the comments form is included in the code and then encase it with hooks:

    Before the form:

    <?php do_action("comment_form_before");?>

    And then after the form:

    <?php do_action("comment_form_after");?>

    And ensure the hooks follow your settings:

    Admin –> Settings –> Comments Plus

    Screenshot attached.

    Take care.

  • 5 Star Reputation Genius
    • Flash Drive

    This is the comments.php, where exactly am I supposed to past the php do action. thanks




    * comments.php


    * The comments template. Used to display post or page comments and comment form.


    * Additional settings are available under the Appearance -> Theme Options -> Comments.



    if (!empty($_SERVER) && ‘comments.php’ == basename($_SERVER))

    die (‘Please do not load this page directly. Thanks!’:wink:;

    if (post_password_required()) {

    theme_post_wrapper(array(‘content’ => ‘<p class=”nocomments”>’ . __(‘This post is password protected. Enter the password to view any comments.’, THEME_NS) . ‘</p>’:wink:);



    if (have_comments()){


    printf( _n( ‘One Response to %2$s’, ‘%1$s Responses to %2$s’, get_comments_number(), THEME_NS ), number_format_i18n( get_comments_number() ), ‘‘ . get_the_title() . ‘‘ );

    theme_post_wrapper(array(‘content’=>'<h4 id=”comments”>’ .ob_get_clean() . ‘</h4>’:wink:);

    $prev_link = get_previous_comments_link(__(‘Newer Comments <span class=”meta-nav”>→</span>’, THEME_NS));

    $next_link = get_next_comments_link(__(‘<span class=”meta-nav”>←</span> Older Comments’, THEME_NS));

    theme_page_navigation(array(‘prev_link’ => $prev_link, ‘next_link’ => $next_link));

    echo ‘<ul id=”comments-list”>’;


    echo ”;

    theme_page_navigation(array(‘prev_link’ => $prev_link, ‘next_link’ => $next_link));


    if (function_exists(‘comment_form’:wink:){


    $args = array();



    function theme_comment_form_field_comment($form_field){


    return theme_get_smilies_js() . ‘<p class=”smilies”>’ . theme_get_smilies() . ‘</p>’ . $form_field;


    add_filter(‘comment_form_field_comment’, ‘theme_comment_form_field_comment’:wink:;



    theme_post_wrapper(array(‘content’ => str_replace(array(‘ id=”respond”‘, ‘type=”submit”‘:wink:, array(”, ‘class=”art-button” type=”submit”‘:wink:, ob_get_clean()), ‘id’ => ‘respond’:wink:);



    if (‘open’ == $post->comment_status) {



    <h3 id=”comments-title”><?php comment_form_title( __(‘Leave a Reply’, THEME_NS), __(‘Leave a Reply to %s’, THEME_NS) ); ?></h3>

    <div class=”cancel-comment-reply”><small><?php cancel_comment_reply_link(); ?></small></div>

    <?php if ( get_option(‘comment_registration’:wink: && !$user_ID ) : ?>

    <p><?php printf(__(‘You must be logged in to post a comment.’, THEME_NS), get_option(‘siteurl’:wink: . ‘/wp-login.php?redirect_to=’ . urlencode(get_permalink())); ?></p>

    <?php else : ?>

    <form action=”<?php echo get_option(‘siteurl’:wink:; ?>/wp-comments-post.php” method=”post” id=”commentform”>

    <?php if ( $user_ID ) : ?>

    <p><?php printf( __( ‘Logged in as %2$s. Log out?‘, THEME_NS), admin_url( ‘profile.php’ ), $user_identity, wp_logout_url(get_permalink())); ?></p>

    <?php else : ?>

    <p><input type=”text” name=”author” id=”author” value=”<?php echo $comment_author; ?>” size=”22″ tabindex=”1″ />

    <label for=”author”><small><?php _e(‘Name’, THEME_NS); ?> <?php if ($req) _e(“(required)”, THEME_NS); ?></small></label></p>

    <p><input type=”text” name=”email” id=”email” value=”<?php echo $comment_author_email; ?>” size=”22″ tabindex=”2″ />

    <label for=”email”><small><?php _e(‘Your email address will not be published.’, THEME_NS); ?> <?php if ($req) _e(“(required)”, THEME_NS); ?></small></label></p>

    <p><input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”22″ tabindex=”3″ />

    <label for=”url”><small><?php _e(‘Website’, THEME_NS); ?></small></label></p>

    <?php endif; ?>

    <!–<p><small><?php printf( __( ‘You may use these <abbr title=”HyperText Markup Language”>HTML</abbr> tags and attributes: %s’, THEME_NS), ‘ ' . allowed_tags() . '‘ ) ?></small></p>–>

    <p><textarea name=”comment” id=”comment” cols=”40″ rows=”10″ tabindex=”4″></textarea></p>


    <span class=”art-button-wrapper”><span class=”art-button-l”> </span><span class=”art-button-r”> </span>

    <input class=”art-button” type=”submit” name=”submit” tabindex=”5″ value=”<?php _e(‘Submit Comment’, THEME_NS); ?>” />


    <?php comment_id_fields(); ?>


    <?php do_action(“comment_form”:wink:;?>


    <?php endif;?>


    theme_post_wrapper(array(‘content’ => ob_get_clean(), ‘id’ => ‘respond’:wink:);


  • Timothy
    • Chief Pigeon

    Hello, hope you’re well.

    Just following up on some threads here and noted that we’ve not heard from you in a while.

    If you’re still looking for some assistance on this thread then please by all means reopen it or create a fresh thread for any new questions.

    Take care.

  • Timothy
    • Chief Pigeon

    Well the thread has been going on two weeks now, it seems you’re not able to fix this so it would be easier for me to just take a look at what the problem is and fix it for you.

    The post is asking for credentials so I can investigate the issue on your site.

    Additionally why are your themes not compatible with the plugins straight out of the box… Seems a little silly

    They are, it’s working for me so nothing silly here. Screenshot attached.

    It would seem some other conflict or setup issue on your install.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.