• I have many categories in my blog, and each category has multiple posts. Currently when I click a given category all the posts in that category are displayed as a stream of contiguous posts.
    Is there a way to display what each category contains (a list of just the titles of the posts) so that the reader can choose which post he wants to display in detail instead of getting a stream of all the posts in that category? Is there a way to do that in WordPress?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes. Just edit your category template file to display only the post titles as links in the Loop instead of the content, date etc,.

    You can do that by editing a file called archive.php or category.php inside the theme directory you are using.

    Most themes are designed to display not just post title, but also post excerpt or post content. If you can edit the file yourself, you just need to comment the part that you don’t want to show. Otherwise, ask the theme creator on how to hide it.

    Thread Starter savmoy

    (@savmoy)

    Where do I have to go to edit the category template file? How do I access this code?

    You can either download the relevant file to your computer from your theme’s folder in wp-content/themes, work on it using a plain text editor, then re-upload the amended file. Or you can edit it online using Appearance/Editor.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘About blog categories’ is closed to new replies.