• I have researched the forum and nothing I have tried in editing my comments.php code or adding a line of code to my single.php & page.php pages seem to work. I can make my own comment but it is not visible on the post page nor is the form visible for others to post.

    View Website:
    http://www.betterchoices.co/blog

    Customized Twenty Ten Theme:
    Here is the code for my comments.php:

    ?>

    <div id=”comments”>
    <?php if ( post_password_required() ) : ?>
    <p class=”nopassword”><?php _e( ‘This post is password protected. Enter the password to view any comments.’, ‘twentyten’ ); ?></p>
    </div><!– #comments –>
    <?php
    /* Stop the rest of comments.php from being processed,
    * but don’t kill the script entirely — we still have
    * to fully load the template.
    */
    return;
    endif;
    ?>

    <?php
    // You can start editing here — including this comment!
    ?>

    <?php if ( have_comments() ) : ?>
    <h3 id=”comments-title”><?php
    printf( _n( ‘One Response to %2$s’, ‘%1$s Responses to %2$s’, get_comments_number(), ‘twentyten’ ),
    number_format_i18n( get_comments_number() ), ‘‘ . get_the_title() . ‘‘ );
    ?></h3>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : // Are there comments to navigate through? ?>
    <div class=”navigation”>
    <div class=”nav-previous”><?php previous_comments_link( __( ‘<span class=”meta-nav”>←</span> Older Comments’, ‘twentyten’ ) ); ?></div>
    <div class=”nav-next”><?php next_comments_link( __( ‘Newer Comments <span class=”meta-nav”>→</span>’, ‘twentyten’ ) ); ?></div>
    </div> <!– .navigation –>
    <?php endif; // check for comment navigation ?>

    <ol class=”commentlist”>
    <?php
    /* Loop through and list the comments. Tell wp_list_comments()
    * to use twentyten_comment() to format the comments.
    * If you want to overload this in a child theme then you can
    * define twentyten_comment() and that will be used instead.
    * See twentyten_comment() in twentyten/functions.php for more.
    */
    wp_list_comments( array( ‘callback’ => ‘twentyten_comment’ ) );
    ?>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : // Are there comments to navigate through? ?>
    <div class=”navigation”>
    <div class=”nav-previous”><?php previous_comments_link( __( ‘<span class=”meta-nav”>←</span> Older Comments’, ‘twentyten’ ) ); ?></div>
    <div class=”nav-next”><?php next_comments_link( __( ‘Newer Comments <span class=”meta-nav”>→</span>’, ‘twentyten’ ) ); ?></div>
    </div><!– .navigation –>
    <?php endif; // check for comment navigation ?>

    <?php else : // or, if we don’t have comments:

    /* If there are no comments and comments are closed,
    * let’s leave a little note, shall we?
    */
    if ( ! comments_open() ) :
    ?>
    <p class=”nocomments”><?php _e( ‘Comments are closed.’, ‘twentyten’ ); ?></p>
    <?php endif; // end ! comments_open() ?>

    <?php endif; // end have_comments() ?>

    <?php comment_form(); ?>

    </div><!– #comments –>

    ** I have all of the discussion settings established on the back end…I know I am missing something either in this comment code or on one of these single pages…please help…completely stuck!

    http://wordpress.org/extend/plugins/comments/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Does your single.php template include the function which will include the comment box?

    <?php comments_template(); ?>

    Thread Starter meed0622

    (@meed0622)

    THANKS!!! It adds the form but now I’m trying to figure out the correct placement….here is what I have right now…

    You can view it here:

    Code from my single.php:

    get_header(); ?>

    <style>
    .tips_text2{ width:auto !important;}
    </style>

    <div id=”content”>

    <div class=”left_section2 fltleft”>

    <?php
    /* Run the loop to output the post.
    * If you want to overload this in a child theme then include a file
    * called loop-single.php and that will be used instead.
    */
    get_template_part( ‘loop’, ‘single’ );
    ?>

    <?php comments_template(); ?>

    </div>

    <?php get_sidebar(); ?>

    <div class=”clrflt”></div>

    </div><!– #content –>

    <div id=”footer” style=”margin-left:0px !important;”><!–footer start–>
    <div class=”footer_top”><!–footer_top start–>
    <?php dynamic_sidebar(‘Footer Link Widget Area’) ;?>
    <div class=”clrflt”></div>
    </div><!–footer_top end–>

    <div class=”footer_bottom”><!–footer_bottom start–>
    <div class=”f_left fltleft”>
    <?php dynamic_sidebar( ‘Copyright Widget Area’ ); ?>

    </div>

    <?php dynamic_sidebar( ‘Bottom Footer Widget Area ‘ ); ?>
    </div><!–footer_bottom end–>
    </div><!–footer end–>

    </div><!–wrapper end–>
    </body>
    </html>

    <style>
    .tips_box {
    margin-bottom: 36px;
    padding-bottom: 20px;
    }
    </style>

    THANKS SO MUCH! I TRULY APPRECIATE YA!

    I think that the placement is fine, but now your have some work to do with the divs.

    I would look at the loop-single.php file which is called by ‘get_template_part( ‘loop’, ‘single’ );’
    see what’s going on.

    You’ll need to do some CSS fixes that’s all. Well, that’s easier said than done. CSS can be a bit tricky at times…. Good luck.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MISSING COMMENT FORM ON BLOG POST — NEED HELP!!!’ is closed to new replies.