Title: CaptApollo's Replies | WordPress.org

---

# CaptApollo

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

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

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Howto : not display child categories’ posts in parent category archive](https://wordpress.org/support/topic/howto-not-display-child-categories-posts-in-parent-category-archive/)
 *  [CaptApollo](https://wordpress.org/support/users/captapollo/)
 * (@captapollo)
 * [19 years ago](https://wordpress.org/support/topic/howto-not-display-child-categories-posts-in-parent-category-archive/#post-451544)
 * I think I’ve got it for 2.1.3:
 * In wp-includes/query.php, modify lines 792-794, truncating lines 792 and 794 
   as follows (be sure to add the semi-colon on the new end of the line):
 *     ```
       $in_cats .= "$cat, ";
       else
       $out_cats .= "$cat, ";
       ```
   

Viewing 1 replies (of 1 total)