Title: stormbot's Replies | WordPress.org

---

# stormbot

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

 *   [Profile](https://wordpress.org/support/users/stormbot/)
 *   [Topics Started](https://wordpress.org/support/users/stormbot/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stormbot/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stormbot/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stormbot/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stormbot/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stormbot/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: [Page navigation doesn’t work any more](https://wordpress.org/support/topic/page-navigation-doesnt-work-any-more/)
 *  [stormbot](https://wordpress.org/support/users/stormbot/)
 * (@stormbot)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/page-navigation-doesnt-work-any-more/#post-1053455)
 * 10 minutes later and I just figured it out with trial and error… Just pure guesses
   and it worked.
 * Basically I wrote it like this:
 * > <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
   >  query_posts(
   > $query_string . ‘&cat=-7,-5&paged=’ . $paged); ?>
 * What worked was removing the “amp;” and leaving the “&”…also I placed the “&”
   in front of the cat.
 * It was a pure guess…I really have no clue about php. At least it works now.
 * thanks!!!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page navigation doesn’t work any more](https://wordpress.org/support/topic/page-navigation-doesnt-work-any-more/)
 *  [stormbot](https://wordpress.org/support/users/stormbot/)
 * (@stormbot)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/page-navigation-doesnt-work-any-more/#post-1053454)
 * @ stvwlf
 * That works …. But I have another problem now…
 * How do I use your code but exclude categories now?
    I wish to exclude category
   7 and 15 for example.
 * Can anyone help using code above?
 * Kind Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Plugin [NextGEN Gallery] linking to video/flash](https://wordpress.org/support/topic/plugin-nextgen-gallery-linking-to-videoflash/)
 *  [stormbot](https://wordpress.org/support/users/stormbot/)
 * (@stormbot)
 * [17 years ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-linking-to-videoflash/#post-1064109)
 * Bump…
 * I would like to know as well..
 * Someone please take the time to answer if you know. Thanks!

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