• 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??

    Thread Starter drunkd

    (@drunkd)

    https://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
    
    ?>

    Thread Starter drunkd

    (@drunkd)

    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 https://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..!!!

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