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.

Best Deals
Get Eduma Now

For Only *
$439 $69

 
GRAB THE DEAL
* Hurry up! Offer ends this Friday!
close-link
HOT - NEW DEMO!!

TRAVEL & BOOKING
Hotel WordPress Theme

The best WordPress theme for Booking, reservation and hotels, resorts... Just like Air BnB
LEARN MORE - 64$ ONLY $79
close-link
ấdsa
ádasd
ádsad
Subscribe
Give it a try, you can unsubscribe anytime.
close-link
Download
LEARNPRESS
WordPress LMS
Download the best WordPress LMS now. Completely Free.
close-link

Spring Sale

Enjoy 20% discount on all LearnPress add-ons products on website http://thimpress.com

Use Code:
AWARESOMENESS20
GRAB NOW
Hurry up! The offer will be ended soon!
close-link
Learn More