Title: kgetchell's Replies | WordPress.org

---

# kgetchell

  [  ](https://wordpress.org/support/users/kgetchell/)

 *   [Profile](https://wordpress.org/support/users/kgetchell/)
 *   [Topics Started](https://wordpress.org/support/users/kgetchell/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kgetchell/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kgetchell/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kgetchell/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kgetchell/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kgetchell/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Post](https://wordpress.org/support/topic/custom-post/)
 *  Thread Starter [kgetchell](https://wordpress.org/support/users/kgetchell/)
 * (@kgetchell)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-post/#post-1299744)
 * Thanks Michael, that’s an even better example than I had found!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Post](https://wordpress.org/support/topic/custom-post/)
 *  Thread Starter [kgetchell](https://wordpress.org/support/users/kgetchell/)
 * (@kgetchell)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-post/#post-1299739)
 * I think found something that is similar to what I want to accomplish, only this
   one is display based upon count of posts.. I guess I could change the post_count
   to category or something similar.
 * <?php if (have_posts()) : ?>
 *  <?php if (($wp_query->post_count) > 1) : ?>
    <?php while (have_posts()) : the_post();?
   > <!– Do your post header stuff here for excerpts–> <?php the_excerpt() ?> <!–
   Do your post footer stuff here for excerpts–> <?php endwhile; ?>
 *  <?php else : ?>
 *  <?php while (have_posts()) : the_post(); ?>
    <!– Do your post header stuff here
   for single post–> <?php the_content() ?> <!– Do your post footer stuff here for
   single post–> <?php endwhile; ?>
 *  <?php endif; ?>
 * <?php else : ?>
    <!– Stuff to do if there are no posts–>
 * <?php endif; ?>
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Post](https://wordpress.org/support/topic/custom-post/)
 *  Thread Starter [kgetchell](https://wordpress.org/support/users/kgetchell/)
 * (@kgetchell)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-post/#post-1299731)
 * Thanks Shane, custom pages/post/category/archive template pages are not what 
   I am looking for though.
 * What I am trying to do is on the main page of the blog only. Typically a blog
   will list your posts via date sequence not paying attention to the category. 
   I would like to create a loop so that it still functions as it normally should(
   display posts in sequential format), however query the category at the same time
   and if it is a particular category display the excerpt only. All other posts 
   would be displayed as normal full posts except said category.
 * I hope this is a bit more descriptive. I find it a bit difficult to explain when
   I have a vague idea of what’s going on 😛

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