Title: rippedfromthecrypt's Replies | WordPress.org

---

# rippedfromthecrypt

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

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

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Exclude pages from search results?](https://wordpress.org/support/topic/exclude-pages-from-search-results/)
 *  [rippedfromthecrypt](https://wordpress.org/support/users/rippedfromthecrypt/)
 * (@rippedfromthecrypt)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/exclude-pages-from-search-results/#post-1156846)
 * you’ve got it slightly wrong – you have to include a minus symbol (-) before 
   the cat ID to tell it to exclude it.
 * here is my form (without the styling):
 *     ```
       <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
       <input type="hidden" name="cat" value="-1" />
       <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s">
       <input class="searchbutton" type="submit" id="searchsubmit" value="SEARCH">
       </td></tr></table></form>
       ```
   

Viewing 1 replies (of 1 total)