How to make the category list only one titles?

In my blog, some category has hundreds titles, almost all the themes will show all the details in the category index. Which makes my category page become really huge, it looks like list the contents of several books just in page, I need change it to only list the titles.

Some themes use the only content/list loop for both main index and category list, those themes is useless for me, once you modify the category list, it also affects main index.  I need the category list which is separate.

Those themes has the category.php matches my requirement.  Here is the way how to modify it:

  1. Look for the code like
    while ( have_posts() ) : the_post();
  2. Find the code in the loop like
    get_template_part( 'content', get_post_format() );
    and comment it
  3. Add the following code
    ?>
    <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><br />
    <?php
  4. List can be added into the code

Leave a Reply

Your email address will not be published. Required fields are marked *