Ready to get started?Download WordPress


[resolved] comments option not appearing (4 posts)

  1. startribe
    Posted 7 years ago #

    Hey Community,

    I have instilled a custom design, and I noticed that my comments option is not appearing. When I switch to the defualt them, comments options are available. I compared the code in the loop and my custom theme has the same code:

    <p class="postmetadata">Posted in
    <?php the_category(', ') ?>
    <?php edit_post_link('Edit', '', ' | '); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    <?php endwhile; ?>
    <div class="navigation">
    <div class="alignleft">
    <?php next_posts_link('&laquo; Previous Entries') ?>
    <div class="alignright">
    <?php previous_posts_link('Next Entries &raquo;') ?>
    <?php else : ?>
    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for
    something that isn't here.</p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    <?php endif; ?>

    The issue must be somewhere in my custom code, for the default works. Any ideas or suggestions?


  2. vkaryl
    Posted 7 years ago #

    Hmm. Don't you need the call to the comments template in there?

    <?php comments_template(); ?> - probably needs to go in just above <?php endwhile; else: ?>.

  3. startribe
    Posted 7 years ago #

    Yes! It worked! Thanks vkaryl.

    It is strange that it wasn't in the default template, yet the option of comments was working when selecting. I must of been missing something, but thank you so much for your help.

    All the Best,

  4. vkaryl
    Posted 7 years ago #

    Can't say about that, I don't know ANYTHING about the default theme, and don't want to know either....

Topic Closed

This topic has been closed to new replies.

About this Topic