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

Question about results

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37140
    vegesharkvegeshark
    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 MarcinkoErnest 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.

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