• Good afternoon .. this code is the comments page of my blog ( comments.php ) . What lines do I delete to delete the comment boxes . I would leave only comments facebook , but for this I need to hide the wordpress comment box . What deleto to hide ?

    <?php
    //Required password to comment
    if ( post_password_required() ) { ?>
    <p><?php _e( ‘This post is password protected. Enter the password to view comments.’, THEMEDOMAIN ); ?></p>
    <?php
    return;
    }

    //Display Comments
    if( have_comments() ) : ?>

    <h5 class=”cufon”><?php comments_number(‘No comment’, ‘Comment’, ‘% Comments’); ?></h5>

    <?php wp_list_comments( array(‘callback’ => ‘pp_comment’, ‘avatar_size’ => ’40’) ); ?>

    <!– End of thread –>
    <br class=”clear”/>

    <?php endif; ?>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : // Are there comments to navigate through? ?>

    <div class=”pagination”><p><?php previous_comments_link(); ?> <?php next_comments_link(); ?></p></div><br class=”clear”/><div class=”line”></div>

    <?php endif; // check for comment navigation ?>

    <?php
    //Display Comment Form
    if (‘open’ == $post->comment_status) : ?>

    <div id=”respond”>
    <?php comment_form(); ?>
    </div>

    <?php endif; ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hide commentary boxes by code’ is closed to new replies.