Question about results

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37140
    vegeshark
    vegeshark
    Participant

    Hello,
    I have a question about search results.
    I need to create 3 different search engines for 3 categories.
    I have 3 main pages. A, B and C (not posts)
    A,B,C are parent pages.
    Every A,B and C pages have own child pages. For example: https://prnt.sc/-neq6wDssy2B
    I want to create a search engine that works as follows: Search engine for A page. Search engine for page A must show results only as child of page A. Search engines for B and C should work similarly, i.e. B gives child B results and C gives child C results.
    Please, help 🙂

    #37147
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    While there is no setting on the back-end to do that, it is doable with a simple custom code, which you can find here: https://knowledgebase.ajaxsearchpro.com/miscellaneous/post-types/limit-results-to-current-page-children

    Let me know if you need help with that.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.