Related with wpml

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme November 01, 2018
Login to reply
J M G
2 years ago

Hello,

I just tried this recommendation, to limit children age to 12 y.o.

1) It doesnt work.

2) The text  $max_kid_age = 17; is not existing on the following page :

/single-accommodation.php,

/templates/template-home.php, 

/inc/functions/shortcode/shortcodes.php, 

/templates/accommodation/booking-success.php files. 

And only showing on : /archive-accommodation.php,

Is it possible to have an explanation ?
Best regards,

M

Kelly R Support Agent
2 years ago
Closed due to inactivity.
Kelly R Support Agent
2 years ago

Hi,

Please find following code in /archive-accommodation.php, /single-accommodation.php, /templates/template-home.php, /inc/functions/shortcode/shortcodes.php, /templates/accommodation/booking-success.php files.

$max_kid_age = 17;

and replace it to $max_kid_age = 12;

Regards, Kelly

Rovshan Dadashov
2 years ago

Hi,

I want you do so that ages for children begin from 12 ages from selections.

we don't anybody select if 2 adults and 1 child (ages from 12 to 17)

I need only from 0 to 12 ages for children.

Please support me/

Thanks

Kelly R Support Agent
2 years ago

Hi,

You can not do that, because default language is only one in our theme and
WPML plugin.
I recommend you add default language version for all the tours.

Regards, Kelly

Rovshan Dadashov
2 years ago

Hi


you sent the last email about it 

Hi,

It is because Azerbaijan language is not default language.

You can set it as default language in WPML Settings.

And I recommend you add english language version for all the tours. Then search feature will work well in multiple languages.

I want every language which I have I mean 4 languages work as default language, how can i do it?

if i inserted tours in arabic, seen in searching, or if i only insert tour in russian seen in search 

I mean without insert english language, please explain me