Exclude Posts, Pages, or Categories from Search Results

I tend to use pages or categorized posts to fill widgets on home pages, because it provides users with an easy way to change various areas on their home page or sidebars. Sometimes, though, we don’t want that content to show up in searches. Here’s how to exclude them:

1 Comment

  1. Phil Morse on November 11, 2013 at 5:41 am

    Thanks! Worked for us.