This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19363
    Robert Tyler SmithRobert 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 MarcinkoErnest 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.

    #19371
    Robert Tyler SmithRobert Tyler Smith
    Participant

    This does it, thanks so much!

    #19373
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.