• prateekgrewal123

    (@prateekgrewal123)


    I am using Hueman theme

    My comment box isn’t appeared on my website , how can i add comment box on my website uniqclasses.com , i tried a few things like ( dashboard >> pages >> all pages >> edit >> click on add comment but it doesn’t works. I am begginner please provide me full tutorial.
    my comment.php file is

    <?php if ( post_password_required() ) { return; } ?>

    <section id=”comments” class=”themeform”>

    <?php if ( have_comments() ) : global $wp_query; ?>

    <h3 class=”heading”><?php comments_number( __( ‘No Responses’, ‘hueman’ ), __( ‘1 Response’, ‘hueman’ ), __( ‘% Responses’, ‘hueman’ ) ); ?></h3>

    <ul class=”comment-tabs group”>
    <li class=”active”><i class=”fa fa-comments-o”></i><?php _e( ‘Comments’, ‘hueman’ ); ?><span><?php echo count($wp_query->comments_by_type[‘comment’]); ?></span>

    • <i class=”fa fa-share”></i><?php _e( ‘Pingbacks’, ‘hueman’ ); ?><span><?php echo count($wp_query->comments_by_type[‘pings’]); ?></span>
    • <?php if ( ! empty( $comments_by_type[‘comment’] ) ) { ?>
      <div id=”commentlist-container” class=”comment-tab”>

      <ol class=”commentlist”>
      <?php wp_list_comments( ‘avatar_size=96&type=comment’ ); ?>
      <!–/.commentlist–>

      <?php if ( get_comment_pages_count() > 1 && get_option(‘page_comments’) ) : ?>
      <nav class=”comments-nav group”>
      <div class=”nav-previous”><?php previous_comments_link(); ?></div>
      <div class=”nav-next”><?php next_comments_link(); ?></div>
      </nav><!–/.comments-nav–>
      <?php endif; ?>

      </div>
      <?php } ?>

      <?php if ( ! empty( $comments_by_type[‘pings’] ) ) { ?>
      <div id=”pinglist-container” class=”comment-tab”>

      <ol class=”pinglist”>
      <?php // not calling wp_list_comments twice, as it breaks pagination
      $pings = $comments_by_type[‘pings’];
      foreach ($pings as $comment) { ?>
      <li class=”ping”>
      <div class=”ping-link”><?php comment_author_link($comment); ?></div>
      <div class=”ping-meta”><?php comment_date( get_option( ‘date_format’ ), $comment ); ?></div>
      <div class=”ping-content”><?php comment_text($comment); ?></div>

      <?php } ?>
      <!–/.pinglist–>

      </div>
      <?php } ?>

      <?php else: // if there are no comments yet ?>

      <?php if (comments_open()) : ?>
      <!– comments open, no comments –>
      <?php else : ?>
      <!– comments closed, no comments –>
      <?php endif; ?>

      <?php endif; ?>

      <?php if ( comments_open() ) { comment_form(); } ?>

      </section><!–/#comments–>

      and one more thing how can i add a comment box, where anybody can comment with login through google , twitter and facebook.
      Please provide me full details as i told you i am begginner, so please i request you to provide me full tutorial.
      Thank you.

  • The topic ‘How to add comment box’ is closed to new replies.