Title: Soder's Replies | WordPress.org

---

# Soder

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary blog or a sub-blog](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/)
 *  Thread Starter [Soder](https://wordpress.org/support/users/soder/)
 * (@soder)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/#post-1323205)
 * It works superb now!
 * If anyone else are looking for a similar solution here’s what I did:
 * Added
 *     ```
       <?php query_posts($query_string . '&cat=-ID'); ?>
       ```
   
 * to index.html before the loop, (ID = the category ID)
    this prevents all posts
   with that category ID to show in the main blog.
 * I created the page template with essentially the same code as the one in index.
   html but the above code changed to
 *     ```
       <?php query_posts("cat=ID"); ?>
       ```
   
 * which shows all posts with that category id.
 * pretty easy solution if I may say so 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary blog or a sub-blog](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/)
 *  Thread Starter [Soder](https://wordpress.org/support/users/soder/)
 * (@soder)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/#post-1323201)
 * Nevermind, found it! Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary blog or a sub-blog](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/)
 *  Thread Starter [Soder](https://wordpress.org/support/users/soder/)
 * (@soder)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/#post-1323190)
 * Hm can I have more than one page template? Since I have “normal” pages and this
   special one?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary blog or a sub-blog](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/)
 *  Thread Starter [Soder](https://wordpress.org/support/users/soder/)
 * (@soder)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/#post-1323180)
 * Yep that part was really easy, now I pretty much need to do the same thing but
   inverted 😉
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary blog or a sub-blog](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/)
 *  Thread Starter [Soder](https://wordpress.org/support/users/soder/)
 * (@soder)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/#post-1323174)
 * Wow thanks for all the help and thanks for your time! This is very useful! I’ll
   tell you how it works out!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary blog or a sub-blog](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/)
 *  Thread Starter [Soder](https://wordpress.org/support/users/soder/)
 * (@soder)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/secondary-blog-or-a-sub-blog/#post-1323164)
 * Actually that would work.
 * Hm..
 * How would I accomplish that? The filtering part on the mainblog and the showing
   of only that category?

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