Title: avato's Replies | WordPress.org

---

# avato

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

 *   [Profile](https://wordpress.org/support/users/avato/)
 *   [Topics Started](https://wordpress.org/support/users/avato/topics/)
 *   [Replies Created](https://wordpress.org/support/users/avato/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/avato/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/avato/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/avato/engagements/)
 *   [Favorites](https://wordpress.org/support/users/avato/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: [Exclude category problem (query_posts)](https://wordpress.org/support/topic/exclude-category-problem-query_posts/)
 *  Thread Starter [avato](https://wordpress.org/support/users/avato/)
 * (@avato)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-problem-query_posts/#post-1269512)
 * That worked perfectly thank you so much!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Exclude category problem (query_posts)](https://wordpress.org/support/topic/exclude-category-problem-query_posts/)
 *  Thread Starter [avato](https://wordpress.org/support/users/avato/)
 * (@avato)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-problem-query_posts/#post-1269506)
 * Ooops sorry. Tried the code you said still did not work. My code is below.
 *     ```
       <?php if (have_posts()) : ?>
   
       <?php query_posts("cat=-8");  ?>
   
       		<?php while (have_posts()) : the_post(); ?>
   
       			// Content Here
   
       		<?php endwhile; ?>
   
       			<span id="previous-entries"><?php next_posts_link('&laquo; Previous Entries') ?></span>
       			<span id="next-entries"><?php previous_posts_link('Next Entries &raquo;') ?></span>
   
       	<?php else : ?>
   
       	// not found content
   
       	<?php endif; ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Exclude Multiple Categories From Blog](https://wordpress.org/support/topic/exclude-multiple-categories-from-blog/)
 *  [avato](https://wordpress.org/support/users/avato/)
 * (@avato)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/exclude-multiple-categories-from-blog/#post-1262308)
 * I’m having exactly the same problem and can not work out why it’s doing it. :/
 * Anyone help?

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