WordPress.org

Ready to get started?Download WordPress

Forums

search only pages if on page (1 post)

  1. BSK
    Member
    Posted 2 years ago #

    hi all,

    i have a site made up of pages and posts. there are only a few pages and a ton of posts. how can i set the search box in my sidebars to search pages only if on a page, or search posts only if on my blog page? right now it mixes everything together on my search page.

    it would be even cooler if there was a way to add checkboxes under the search box to select posts or pages.

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic