WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Problem In comment section (6 posts)

  1. drunkd
    Member
    Posted 2 years ago #

    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!

  2. Usubba
    Member
    Posted 2 years ago #

    ur link??

  3. drunkd
    Member
    Posted 2 years ago #

    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...

  4. adpawl
    Member
    Posted 2 years ago #

    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
    
    ?>
  5. drunkd
    Member
    Posted 2 years ago #

    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..!!!

  6. esmi
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic