Home>Support>Inserting Search bar in page

Inserting Search bar in page

Hi,
I’ve been using a 3rd party search plugin.
But, now I want to use the search bar of vantage theme.
So I tried to insert codes of searchform.php into a page, but I couldn’t get the form I imagined.
I want to insert search bar to page, and decorate the search bar using css.
I want to get the search bar like it of airbnb.com. So above all, I can be able to insert search bar in a page.
How can I do?
Thanks.

URL: http://www.sharewhere.co.kr

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago 윤정완

    In addition, I made a page and inserted codes : but, I’ve gotten nothing.

  2. 9 years, 3 months ago 윤정완

    In addition, I made a page and inserted codes :

    <div align="center"> <?php get_search_form(); ?></div>

    but, I’ve gotten nothing.

  3. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi 윤정완

    Thanks for reaching out.

    By default it’s unfortunately not possible to insert PHP into the WordPress Visual/Text tabs or the Text widget or the Visual/Text tabs in the Visual Editor widget. There are one or two plugins that add an advanced text widget that accepts PHP, you could consider that.

    The easiest solution is probably to create a row in Page Builder, add a background image and then insert a Search widget. You could then target that row and widget and style the form as required.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More