Simple.. List all posts for specific catagory on catagory page.. (4 posts)

  1. sithicus
    Posted 9 years ago #

    Basically I just want to list all the posts in a nice list on the catagory page for that specific catagory. Why my system is doing right now is listening one post with navigation to the older posts under the same catagory, is there a way to list all the posts from a specific catagory ... I just want to list their title.. this is probably pathetically easy but I'm just confused now.

  2. sithicus
    Posted 9 years ago #

    This is what I have so far, the results can be seen here:

    You can see that it is only listing one post title and then lets you nav back thru them..

    <? php if (have_posts()) : ?>
    <h2 class="searchresult">Search Results</h2>
    <div class="searchdetails"> Search results for "<? php echo ""."$s"; ?>" </div>
    <? php while (have_posts()) : the_post(); ?>
    <h2 class="searchresult">
    " rel="bookmark" title="Permanent Link to <? php the_title(); ?>">
    <? php the_title(); ?>

    <? php endwhile; ?>
    <? php else : ?>
    Not Found
    <? php endif; ?>

  3. MichaelH
    Posted 9 years ago #

    You might use a Category Template as described in the Codex Category Templates article. There's also a section there that describes displaying only excerpts instead of full posts.

    Other info:

  4. sithicus
    Posted 9 years ago #

    I've done both of those... I've got it to show only the title that i wanted, but I wanted to show ALL of the titles of ALL the posts under a single catagory.

Topic Closed

This topic has been closed to new replies.

About this Topic