[Resolved] Is There A Way To Add Search Box To A Page?

Home Forums Support [Resolved] Is There A Way To Add Search Box To A Page?

Home Forums Support Is There A Way To Add Search Box To A Page?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #785955
    JOHN

    Hello,
    Using Catalyst from the site library.

    Is there a way to add a search box to a page? I found a couple plugins that will do the job, but wondering if there is another way.

    I have a site with about 50 businesses on it. I want to have a “search” page so visitors can search for a business by name.

    #785990
    Leo
    Staff
    Customer Support

    Hi John,

    If I understand the question correctly, this should help:
    https://generatepress.com/forums/topic/search-form-within-a-page-possible/#post-280649

    Let me know ๐Ÿ™‚

    #786349
    JOHN

    Where do I put that code? I created a blank page, created a block and entered the code in that block. But just the code shows up when I hit preview.

    I’m thinking I just want something like the Google page: https://www.google.com/

    Expcept I would use my site name and have the search box under it.

    I think this can also be done with google custom search where you can limit searches to just your site.

    #786452
    Leo
    Staff
    Customer Support

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Then just add the shortcode [search] in your content.

    #786536
    JOHN

    That worked! Thanks

    #786601
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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