Redirect Check Availability button

For some reasons, you don’t want to use our booking system but still using the search form. So you want to redirect to another website when click Check Availability button. I’ll guide you how to custom this:

1. Create child theme.

Refer more about child theme here

2. Deploy in child theme.

In child theme, create folder sailing-child/wp-hotel-booking/search and copy file search.php to the folder (sailing-child/wp-hotel-booking/search/search.php)

In the file search.php, replace line 90: <button type="submit"><!--?php esc_html_e('Check Availability', 'sailing'); ?--></button>

to <a target="_blank" href="link-website"><?php esc_html_e('Check Availability', 'sailing'); ?></a>

See the screenshot http://prntscr.com/iof8aa

Done! Now your site redirects to another website when click Check Availability button.