The MU forums have moved to WordPress.org

Display list of links for clicked category (3 posts)

  1. rcwatson
    Member
    Posted 15 years ago #

    I want to allow users to click a category link on the left nav (no expanding to show children) and display, in a middle content area of my template, a bulleted list of all linked post titles for that category. The user reviews the abbreviated list in the main content block (no summaries, just linked titles) and clicks the one he/she wants. The post page for just that post is what appears next in the main content block. It's your usual inefficient drill down, but I gotta do what the boss wants.

    How do I do this? I've found pieces of code all over the web that address this in part, but can't figure out how to make them fit together.

    Any help greatly appreciated.

  2. andrea_r
    Moderator
    Posted 15 years ago #

    All you need is a category template and tell it to show the titles only.

    Pretty simple, really.
    http://codex.wordpress.org/Category_Templates

    When in doubt, read the codex.

  3. rcwatson
    Member
    Posted 15 years ago #

    Cool. Thank you. The first time I read that page, it seemed like something else entirely, so I disregarded it. But now that I stepped through it on your recommendation, it seems to be just the thing. Thanks again!

About this Topic

  • Started 15 years ago by rcwatson
  • Latest reply from rcwatson