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

easy question :-)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #19277
    Jonas1898Jonas1898
    Participant

    Hello, I have a very simple question but I cant find a solution… I have about 300 pages on my website and want the search just search inside 40 pages. How can I tell the search plugin to just search in these 40 sites?

    #19288
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    These will help you find the best solution:
    Excluding/Including results (by category, ID etc..)
    Including resulty by IDs

    I hope this helps!

    #19292
    Jonas1898Jonas1898
    Participant

    Thank you. But I just can find “Exclude categories/terms by ID” in Source 2 chapter. Where can I find the Including results by ID?

    #19297
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Please check the second link, that should be what you are looking for.

    #19298
    Jonas1898Jonas1898
    Participant

    Oh its a link, thanks! In which way do I have to enter the IDs? Can you please give me an example code with IDs included?

    #19299
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The code includes the IDs, within the $ids variable. In the example it has 1, 2, 3, 4, 5, 6. Just list the IDs within the brackets there 🙂

    #19300
    Jonas1898Jonas1898
    Participant

    thank you so much!!!

    #19301
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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