Okay
  Public Ticket #1433195
Send Enquiry
Closed

Comments

  • Aliwa1 started the conversation

    Q1:How do I insert a send inquiry button below MAX (People) on the availability tab.
    Q2: I created a new tab to be displayed on single accommodation page. Cant seem to find it anywhere as I would like to add content to it. 

  •  2,054
    Theme replied

    Hi,

    1. Can you show a screenshot of where you intend to do this?

    2. You must create a new tab in Theme options -> Accommodations and save options. Then, you must create a new field and assign it to this new tab while on the same screen and save options.

    Finally, you must edit one of your accommodations, scroll to the bottom and add some text to your new field and save the accommodation. When you then view the accommodation in the front, you will see the new tab, and your new content within that tab.

    Best regards,

    themeenergy support

  • Aliwa1 replied

    Hi, I would like to insert an (Inquire Now Button) where the (Selected Dates) button is or possibly above it.

    Also is there any way I can remove the ribbon in the headed (Next to search box)?


  •  2,054
    Theme replied

    Hi,

    1. You would have to copy single-accommodation.php to your child theme, edit the file and change

    <?php BookYourTravel_Theme_Utils::render_link_button("#", "gradient-button book-accommodation-select-dates", "book-accommodation-$room_type_id", esc_html__('Select dates', 'bookyourtravel')); ?>

    to

    <?php 
    BookYourTravel_Theme_Utils::render_link_button("#", "gradient-button right contact-accommodation", "", esc_html__('Send inquiry', 'bookyourtravel'));
    BookYourTravel_Theme_Utils::render_link_button("#", "gradient-button book-accommodation-select-dates", "book-accommodation-$room_type_id", esc_html__('Select dates', 'bookyourtravel'));
    ?>

    As for hiding the ribbon from the header, you can do that via Appearance -> Theme options -> Configuration settings.

    Best regards,

    themeenergy support