WordPress.org

Support

Support » How-To and Troubleshooting » Problem In comment section

Problem In comment section

  • Hi,
    Whenever I make any post I have a “leave a comment” below it. But when someones goes to comment, it shows “you must log in to comment”. How to solve this problem? I want to have a contact form there. I use contact form 7 on my contact me page and want it in my “leave a comment’ section below every post.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • ur link??

    http://www.togetridofeczema.com
    This is my website.
    I want to have a contact form in “Leave a comment” section below my posts and also remove the “edit post” section.
    How to do it? Please advice…

    If You want open comments for non-registred users
    …go to Dashboard, Settings > Discussion tab, and uncheck Users must be registered and logged in to comment option.

    If You want replace comments form by a Contact Form 7
    -put to comment.php file code like this:

    <?php if ( post_password_required() ) : ?>
    <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p>
    <?php
    return;	endif;
    
    echo do_shortcode( '[contact-form-7 id="111" title="Contact form 1"]' ); //Contact Form shortcode
    
    ?>

    Hi adpawl,
    Thanks a lot for your advice.

    I don’t want to go for the first part. I want people to comment on my posts. But in order to do that I need to have a “COMMENT FORM” in the “leave a comment” section.
    For instance you can refer a site http://www.yourlovegurureview.com
    Below every post it has a leave a comment section and when clicked it takes to a COMMENT FORM.
    I want to have one for my site.

    Please help and advice..

    Thanks again..!!!

    esmi

    @esmi

    Forum Moderator

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem In comment section’ is closed to new replies.
Skip to toolbar