soggybag
Member
Posted 2 years ago #
I'd like to modify the pages that displays when a category link is clicked. I have a list of categories in my side bar widgets. When a category item is clicked I'd like to see a page that displays a list of all items matching that category. Where the list is only the name of that item rather than the whole post.
If you are using the default theme, remove this code from your archive.php
<div class="entry">
<?php the_content() ?>
</div>
If you do not want the time to show either, also remove this code:
<small><?php the_time('l, F jS, Y') ?></small>
soggybag
Member
Posted 2 years ago #
Thanks for the reply. That worked well.
One more question if I may. I have set my blog to show one entry. But on this archive display it also shows only one entry. I'd like to show more here in this view. How can I get the archives to show all or a number of items different from the number set for the main index view.
Custom Query String plugin.