Title: Category Question 2.7
Last modified: August 19, 2016

---

# Category Question 2.7

 *  Resolved [wendallb](https://wordpress.org/support/users/wendallb/)
 * (@wendallb)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/category-question-27/)
 * Hello,
 * I am using version 2.7
 * I don’t know if this can be done so here goes:
 * Let’s say I have ten posts or topics in a category. What I want is when I click
   on a category all I want to see is a list of the ten topics and not complete 
   posts. I want the ten topics to be live links to the posts..
 * Thanks for any help..
 * WendallB

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/category-question-27/#post-986193)
 * Using the WordPress Default Theme for discussion, to do this you would change
   the `wp-content/themes/default/archive.php` file and delete these lines:
 *     ```
       <div class="entry">
       	<?php the_content() ?>
       	</div>
       	<p class="postmetadata"><?php the_tags('Tags: ', ', ', ''); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
   
       	</div>
       ```
   
 * With the help of the [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
   article, I determined what [Template](http://codex.wordpress.org/Templates) displayed
   the category archives, then I edited that template and deleted reference to [template tag](http://codex.wordpress.org/Template_Tags),
   [the_content()](http://codex.wordpress.org/Template_Tags/the_content), which 
   displays the content of posts. I also deleted the code that displayed categories
   and tags. What that left was a line of code that displayed the title of posts
   in the form of links. That line is:
 *     ```
       <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
       ```
   
 *  Thread Starter [wendallb](https://wordpress.org/support/users/wendallb/)
 * (@wendallb)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/category-question-27/#post-986220)
 * Thanks very much I will give that a go…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Category Question 2.7’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [wendallb](https://wordpress.org/support/users/wendallb/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/category-question-27/#post-986220)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
