This shortcode will display the search form. If you want to show a search box somewhere on the homepage or any page, just put this shortcode there; it will print the bus search form.


To set the page to show the results, you must select the search result page. Go Settings-> General Settings-> Search Result Page and select the page from the dropdown list.

For example, we have created a page called Bus Search, where we want to display the search result. We have put there the bus search shortcode:


Without this shortcode, the result will not show.

bus search result page

We’ll select the Bus Search page from settings and click on the Save Changes button.

How to select Bus Search result page from settings

Now the result will show on the Bus Search page.


If you want to show the result on the same page where the form is present, use this shortcode only:
This shortcode shows the search form and results on the same page.


Leave a Reply