Support » Themes and Templates » Identify Post Type Filter on Search Results Page

  • Resolved Mav3000

    (@mav3000)


    Hi, I have a site with two Post Types, each have their own search boxes which filter search results to a specific post type.

    On my search.php page, I’d like to be able to extract which Post Type my results are filtered to.

    How can I do this?

    The URL of my search results looks like this:

    http://www.domain.com/?s=mysearchtext&post_type=mypostype

    Any help would be really appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Identify Post Type Filter on Search Results Page’ is closed to new replies.