Site logo

[Resolved] Creating a Search Bar for a Single Page Only Searching Info on That Page

Home Forums Support [Resolved] Creating a Search Bar for a Single Page Only Searching Info on That Page

Home Forums Support Creating a Search Bar for a Single Page Only Searching Info on That Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2129578
    Rika

    Hi Support,

    How do I create a search bar inside a single page searching only for keywords on that specific page and not site-wide?

    I would like to create a glossary and add the search function inside the glossary page.

    Hope I make sense.

    Thanks,

    Rika

    #2129587
    Leo
    Staff
    Customer Support

    Hi there,

    You can use the search block from WP core to insert the search bar:
    https://wordpress.org/support/article/search-block/

    searching only for keywords on that specific page and not site-wide?

    This is something you will need to check with WP’s support team. Hopefully they have a filter for the search block so you can modify the search query.

    #2130754
    Rika

    Hi Leo,

    Thank you. I will follow your advice and contact the WP support team.

    #2130982
    Leo
    Staff
    Customer Support

    If they can’t help then it might be worth looking into a search-specific plugin.

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