Limit my search source by CPT AND Category

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Limit my search source by CPT AND Category

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19363
    Robert Tyler Smith
    Robert Tyler Smith
    Participant

    Hello! I am trying to figure out how to limit my sources to a specific category, within a specific custom post type. I do not want to turn on any front-end filters for the user to choose themselves…this is just supposed to be a simple search bar within that particular category. Here is a page where that bar is used: https://c2fo.com/vendors/

    We want to do another bar identical to this one but only searches among the posts that have “featured” as a category. Thanks for your help!

    #19367
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    On the General Options -> Sources panel, choose the post types you need, then check the instructions here on how to limit the results to a specific categor only.

    These should do the trick for you hopefully.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #19371
    Robert Tyler Smith
    Robert Tyler Smith
    Participant

    This does it, thanks so much!

    #19373
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.