Automatically create columns of categories?
-
Hello,
i figured out how to list post titles of a specific category via this:
<?php query_posts('cat=12'); ?> <?php while (have_posts()) : the_post(); ?> <span class="listings"><a href="<?php the_permalink(); ?>" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></span> <?php endwhile;?>
so this will list all the posts in one column. i can’t seem to figure out how to put the posts in columns if there are too many.
for example, like if i have 20 posts in one column, and what i want is 10posts in each column.
any help would be appreciated and happy thanksgiving!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Automatically create columns of categories?’ is closed to new replies.