• If you view the link below, shows what I am doing. What I wanted to do is use single table to display.

    Name
    Tages
    Category
    Author

    But whenever I tried to do this, it’ll break off and try to make a new table for each one. Is it possible to use a single table for listing?

    <?php get_header(); ?>
    
    <div id="main">
    <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>
            <table>
              <tr class="table-top">
                <td>Name</td>
                <td>Tag</td>
                <td>Category</td>
                <td>Author</td>
              </tr>
              <tr>
                <td><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></td>
    		<td></td>
                <td><?php the_category(', ') ?></td>
    		<td><?php the_author() ?></td>
              </tr>
              </table>
              <?php endwhile; ?>
        <?php else : ?>
        <?php endif; ?>
         </div>
    
            </div>
    
    <?php get_footer(); ?>

    http://i35.tinypic.com/2dgnfqw.jpg

The topic ‘Indexing categories as table’ is closed to new replies.