• Hello there! My name is Ryan, and well. Currently I have been trying to get my website up. I wanted to switch from my current news updater thing. (Cutenews) to wordpress. I pretty sure I have everything I wanted out of the wordpress, but I have one problem. I have been testing the comment system to see that everything is working properly, but I found that the when I try to view the comments the user name comes up as Anon. and then I cannot view the comment content, date, etc.

    I have been to about four different forums asking for help on the same topic, but I think people are stumped. So I was wondering if you people would be able to help me with the problem.

    Here the page coding:

    <table width=”100%” cellspacing=”2″ cellpadding=”2″ class=’content’>
    <tr>
    <td colspan=”2″ class=”blog” style=”background-image: url(h1.gif); text-align:center;font-weight: bold;” align=’center’>
    -<?php the_title(); ?>-
    </td>
    </tr>
    <tr>
    <td width=”50%” class=”blog”>
    Posted: <?php the_category(‘, ‘) ?>
    </td>
    <td width=”50%” class=”blog”>
    Posted By: Ryan
    </td>
    </tr>
    <tr>
    <td colspan=”2″ class=”blog”>
    <?php the_content(); ?>
    <BR>
    </td>
    </tr>
    <tr>
    <td width=”50%” class=”blog” style=”font-weight: bold;”>
    <?php the_time(‘m/j/y g:i A’) ?>
    </td> <td width=”70%” class=”blog”>
    <?php comments_popup_link(__(‘0 Comments’), __(‘1 Comment’), __(‘% Comments’)); ?></td></tr>
    </table>
    <BR><BR>

    <?php
    if (is_single())
    {
    echo “

    • Comment By: <B>”;
      comment_author(); echo”-“; comment_date(‘n-j-Y’);
      echo “</B>
      “;
      comment_text();
      echo ”
    • “;

      include (‘comments.php’);
      };
      ?>

      I also have a screenshot of what is going on with the page.
      https://img.photobucket.com/albums/1003/ryani/screencap.jpg

      Thanks in advance!
      – Ryan
      (Im sorry, I would have put the code in a code tag, but I dont know how. XP SORRY!)

Viewing 2 replies - 1 through 2 (of 2 total)
  • the comment template_tags your using etc should go inside the comments.php in its loop.. take a look at the default theme and how its done there..

    Thread Starter ryn894

    (@ryn894)

    Ah, ok. Umm, can you please tell me why the comment author comes up as “Anonymous”?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments Not showing’ is closed to new replies.