Home Forums Theme support Easy reservations on multilingual website

This topic contains 5 replies, has 2 voices, and was last updated by  7Theme Support 8 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Hello Guys,
    i have the classy theme which came with the easyreservations plugin.
    I use the polylang plugin for having english and greek languages.
    Everything is ok with the translations except for the easyreservations plugin.
    I would like to have for each language their own form with the chosen language.. As i can see i cannot change the setting so to choose which form to use in the resources. I can only choose the form only if i use a shortode.

    Is there any solution?
    any chance of being able to choose which form to use, when i create a new resource?

    ps you can see the website here.
    http://armenosvillas.gr.193-92-97-36.reseller22.grserver.gr/

    Hi,

    you can open the file “single-easy-rooms.php” in the root of the folder and remove line 29. Then you can add your own reservation shortcode in each room and for each language.

    Thank youu very much!!! i did what you said and also used in the section of easyreservation settings where you create the custom forms
    the following code so it appears as the original

    <div class=”room_form”> here the custom form </div>

    i mention it just to help anyone else which face the same problem.

    ps i also put this code
    <div class=’room_features’>
    <h3>Features</h3>

      <?php echo strip_tags(get_the_term_list( get_the_ID(), ‘room-features’, “

    • <span> “, “</span>
    • <span> “, “</span>
    • ” ) ,”

    • <span></span>
    • ” ); ?>

    <div class=”clear”></div>
    </div>

    before this <?php the_content(); ?>

    because the reservation form appeared above the features..

    Thanks again.. and hope the informaation i gave will be hepfull for someone else too! 🙂

    `<?php the_content(); ?>
    <div class=’room_features’>
    <h3>Features</h3>
    <ul>
    <?php echo strip_tags(get_the_term_list( get_the_ID(), ‘room-features’, “<li><span> “, “</span></li><li><span> “, “</span></li>” ) ,”<li><span></span></li>” ); ?>
    </ul>
    <div class=”clear”></div>
    </div>

    			<div class='room_features'>
    				<h3>Features</h3>
    				<ul>
    				<?php echo strip_tags(get_the_term_list( get_the_ID(), 'room-features', "<li><span> ", "</span></li><li><span> ", "</span></li>" ) ,"<li><span></span></li>" ); ?>
    				</ul>
    				<div class="clear"></div>
    			</div>
    
    this before that
    

    <?php the_content(); ?>

    OK, perfect, thank you!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.