Title: chudsf's Replies | WordPress.org

---

# chudsf

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Need to display ONLY the category of the current top post](https://wordpress.org/support/topic/need-to-display-only-the-category-of-the-current-top-post/)
 *  Thread Starter [chudsf](https://wordpress.org/support/users/chudsf/)
 * (@chudsf)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/need-to-display-only-the-category-of-the-current-top-post/#post-503783)
 * Excellent. Thanks so much, Kafkaesqui, your assistance is much appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Need to display ONLY the category of the current top post](https://wordpress.org/support/topic/need-to-display-only-the-category-of-the-current-top-post/)
 *  Thread Starter [chudsf](https://wordpress.org/support/users/chudsf/)
 * (@chudsf)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/need-to-display-only-the-category-of-the-current-top-post/#post-503781)
 * This worked swimmingly with one exception — If I schedule posts in advance it
   grabs the $latest_cat value from those (instead of the current, displayed post).
   Anyone care to suggest a way to filter it so it only grabs the latest LIVE post?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Need to display ONLY the category of the current top post](https://wordpress.org/support/topic/need-to-display-only-the-category-of-the-current-top-post/)
 *  Thread Starter [chudsf](https://wordpress.org/support/users/chudsf/)
 * (@chudsf)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/need-to-display-only-the-category-of-the-current-top-post/#post-503732)
 * I will give this a shot, thank you so much!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display ONLY category of current post](https://wordpress.org/support/topic/display-only-category-of-current-post/)
 *  Thread Starter [chudsf](https://wordpress.org/support/users/chudsf/)
 * (@chudsf)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/display-only-category-of-current-post/#post-493866)
 * Anyone else have a good way to do this? Perhaps one can get the category of the
   current post and omit it from the loop using a variable somehow? My php is useless.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display ONLY category of current post](https://wordpress.org/support/topic/display-only-category-of-current-post/)
 *  Thread Starter [chudsf](https://wordpress.org/support/users/chudsf/)
 * (@chudsf)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/display-only-category-of-current-post/#post-493497)
 * That first sentence should say: Display only POSTS IN THE SAME CATEGORY as the
   current post.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display ONLY category of current post](https://wordpress.org/support/topic/display-only-category-of-current-post/)
 *  Thread Starter [chudsf](https://wordpress.org/support/users/chudsf/)
 * (@chudsf)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/display-only-category-of-current-post/#post-493494)
 * Sorry, here ya go:
 * On the index page of the blog, I would like to ONLY display the category of the
   most recent post. So if I post category 6, it should only display posts of that
   category. If I then do a post of category 3, it would no longer show category
   6, only category 3. And so on…
 * Basically the blog will have a rotating identity on the index page (I have a 
   different header image for each category too), and this will keep older/different
   category posts from showing up there.
 * Hopefully that makes more sense…..?

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