Hi all,
i'd like to know how to generate this line of table <tr> under the loop in a template
<tr>
<td><?php the_ID(); ?></td>
<td><?php the_title(); ?></td>
<td><?php the_category(', ') ?></td>
<td><?php the_date(); ?></td>
<td><?php the_author(); ?></td>
<td><a href="<?php the_permalink(); ?>">More...</a></td>
</tr>
and this my try - Not work
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<tr>
<td><?php the_ID(); ?></td>
<td><?php the_title(); ?></td>
<td><?php the_category(', ') ?></td>
<td><?php the_date(); ?></td>
<td><?php the_author(); ?></td>
<td><a href="<?php the_permalink(); ?>">More...</a></td>
</tr>
<?php endwhile; endif; ?>
Thanks in Advance.