Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7187189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:47:26+00:00 2026-05-28T18:47:26+00:00

I’m at a loss to for a solution to my comments section not showing

  • 0

I’m at a loss to for a solution to my comments section not showing on my single post page. I’ve noticed that this page is not displaying any of the code below the post and tags sections. Would someone be willing to look at the code in the admin for me? I imagine it could be something simple to identify, as the site is organized nicely.

This is the only way I think the problem could be solved.

UPDATE UPDATE UPDATE. Here’s Single.php

<?php get_header(); ?>

    <?php include ('page_header.php'); ?>
    <?php include ('page_navigation.php'); ?>       


    <div id="page-content" class="clearfix">

        <div id="content-container" class="clearfix">

            <div id="main-content">

                <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

                    <?php if ( get_option('minimax_post_layout') == 'head-three' ) { ?>

                        <h2><?php the_title(); ?><em>Posted on <?php the_time('D, M d, Y') ?></em></h2>     
                        <?php if ( has_post_thumbnail() ) { ?>
                        <div class="post-item-thumb-<?php echo get_option('minimax_post_layout'); ?>">
                        <?php the_post_thumbnail('thumb_post_3'); ?>
                        </div>
                        <?php } ?>                                                                                                  

                    <?php } else { ?>

                        <?php if ( has_post_thumbnail() ) { ?>
                        <div class="post-item-thumb-<?php echo get_option('minimax_post_layout'); ?>">
                        <?php the_post_thumbnail('thumb_post_2'); ?>
                        </div>
                        <?php } ?>                                                                      
                        <h2><?php the_title(); ?><em>Posted on <?php the_time('D, M d, Y') ?></em></h2>     

                    <?php } ?>                                                              

                    <?php the_content(); ?>

                    <?php edit_post_link('Edit', '<br /><p>', '</p>'); ?>   

                    <?php include ('post_related.php'); ?>

                    <div id="post-indexing"> <?php the_tags('<strong>Tagged as</strong> ',', ','+'); ?><br /><strong>Categorized as</strong> <?php the_category(', ','single'); ?></div>                

                    <?php include ('post_author.php'); ?>   


                    <?php comments_template(); ?>               

                <?php endwhile; else: ?>
                    <p><?php _e('Sorry, no pages matched your criteria.'); ?></p>
                <?php endif; ?>

            </div><!-- end main-content -->

            <?php include ('sidebar_post.php'); ?>  

        </div><!-- end content-container -->


        <?php include ('footer_columns_posts.php'); ?>


    </div><!-- end page-content -->

<?php get_footer(); ?>      

Also, here’s the comments.php page:

<div id="comments">
<?php // Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Please do not load this page directly. Thanks!');

if (!empty($post->post_password)) { // if there's a password
    if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
        ?>

        <p class="nocomments">This post is password protected. Enter the password to view comments.</p>

        <?php
        return;
    }
}

/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>

<!-- You can start editing here. -->



<?php if ($comments) : ?>

<h2>Comments <span>(<?php comments_number('No Responses', 'One Response', '% Responses' );?

>)</span></h2>

<ul class="commentlist">
    <?php wp_list_comments('avatar_size=60&type=comment'); ?>
</ul>    

 <?php else : // this is displayed if there are no comments so far ?>

<?php if ('open' == $post->comment_status) : ?>
    <!-- If comments are open, but there are no comments. -->

 <?php else : // comments are closed ?>
    <!-- If comments are closed. -->

<?php endif; ?>
<?php endif; ?>


<?php if ('open' == $post->comment_status) : ?>

<div id="respond">

<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
<div class="cancel-comment-reply">
<?php cancel_comment_reply_link(); ?>
</div>

<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo 
urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
<?php else : ?>


<div id="post-comment" class="clearfix">

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" 
id="commentform">
<fieldset>
<?php if ( $user_ID ) : ?>

<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo
$user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?
action=logout" title="Log out of this account">Log out &raquo;</a></p>

<?php else : ?>


<label for="author"><?php if ($req) echo "* "; ?>Your name:</label>
<input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22"
tabindex="1" />

<label for="email"><?php if ($req) echo "* "; ?>Mail (will not be published):</label>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>"
size="22" tabindex="2" />

<label for="url">Website</label>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22"
tabindex="3" />


<?php endif; ?>

<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?
></code></small></p>-->

<label for="comment" class="comment">Your comment:</label>
<textarea name="comment" id="comment" class="comment" cols="61%" rows="10" 
tabindex="4"></textarea>

<input name="submit" type="submit" class="submit" alt="Submit Comment" id="submit" tabindex="5"
value="Submit Comment" />
<input type="hidden" class="hide" name="comment_post_ID" value="<?php echo $id; ?>" />

<?php comment_id_fields(); ?>
<?php do_action('comment_form', $post->ID); ?>
</fieldset>
</form>
</div><!-- end post-comment -->
</div>
<?php endif; // If registration required and not logged in ?>


<?php endif; // if you delete this the sky will fall on your head ?>
</div>

Here is post_author.php

<?php if ( get_option('minimax_author') == 'yes' ) { ?>
<div id="author-desc" class="clearfix">
<?php the_author_image(); ?>
<h4>About the Author</h4>
<?php the_author_description(); ?>
</div>
<?php } ?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:47:27+00:00Added an answer on May 28, 2026 at 6:47 pm

    There isn’t any function like the_author_image() in WordPress. So, you have to remove

    <?php the_author_image(); ?>

    line from your post_author.php. If you want to show author image , WordPress getting avatars from Gravatar. You can use get_avatar() to display author’s Gravatar.

    echo get_avatar(get_the_author_id());
    

    In shortly, use this :

    <?php echo get_avatar(get_the_author_id()); ?>
    

    instead of this :

    <?php the_author_image(); ?>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to create an if statement in PHP that prevents a single post
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I need a function that will clean a strings' special characters. I do NOT
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.