Search Bar

Closed
CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme March 30, 2020
Login to reply
Alexandre Silva
3 years ago

Hi,

Thank you very much

Kelly R Support Agent
3 years ago

Please change value to tour in the code.

<input type="hidden" name="post_type" value="tour">

Best regards,

Alexandre Silva
3 years ago

Hello,

Is possible to change the serach only to website/tours ?

Thank you very much

Alexandre Silva
3 years ago

Hi,

Thank you very much.

Kelly R Support Agent
3 years ago

Please remove following code in /wp-content/themes/citytours/searchform.php file.

<input type="hidden" name="post_type" value="post">

Best regards,

Alexandre Silva
3 years ago

Hi,

No, i don´t have posts in my page. 

But it was not supposed to search in all website? Is possible to change? 

Thank you

Kelly R Support Agent
3 years ago

Hi,

It searches only posts. Do you have posts in your website?

Alexandre Silva
3 years ago

Hello,

I activated the "Search Bar" and is showing in the menu.

But when i type any word it gets "Nothing Found" - "Sorry, no posts matched..."

Is possible to search in tours and in all website? 

Thank you