Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #2059700
Some changes in code
Closed

Comments

  • afandemultimedia started the conversation

    Hi,

    I want to change the single rooms slug (/hotel-room/) for another one more convenient. 
    Also, I want to customize the map in location of the single rooms to, changing color and pin.

    How can I do that? I can edit some code in plugins or theme files, but I don't know which exactly.

    Thank you in advance, great theme!

  •  1,845
    Elated replied

    Hi there,

    Welcome to your support management and thank you for choosing our theme!

    1- You can change the slug 'hotel-room' by replacing the following file with the one attached below:

    wp-content/plugins/eltd-hotel/post-types/hotel-room/hotel-room-register.php

    and editing the slug value at line 70.

    2- In order to change the google map style you need to change the parameters set within the following file:

    wp-content/plugins/eltd-hotel/post-types/hotel-room/helper-functions.php

    As for the pin, you can change the global pin image by switching the image used at:

    wp-content/themes/albergo/assets/img/pin.png

    However, you would not be able to do so for every single hotel-room individually.

    Hope this helps! If there is anything else that we can help you with please don't hesitate to ask.

    Kind regards,

    Sean


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • afandemultimedia replied

    Thank you for your help. It worked great! 

    Now, I want to:

    1. Change the background color of the "eltd-hr-single-title-holder" (top bar in a single room).

    2. Increase the zoom in the map of the location in a single room.

    I hope that's all.
    Thank you in advance.

  •  1,845
    Elated replied

    Hi again,

    1- In order to change the color of the "eltd-hr-single-title-holder" please use the code below and copy it into Appearance > Customize > Additional CSS or Elated Options > General > Custom CSS

    .eltd-hotel-room-single-holder .eltd-hr-single-title-holder {
        background-color: blue !important;
    }
    

    2- You may be able to add a zoom level attribute into the snazzy map parameter in the same file here: 

    wp-content/plugins/eltd-hotel/post-types/hotel-room/helper-functions.php

    Hope this helps and if there is anything else that we can assist you with please don't hesitate to ask.

    Kind regards,

    Sean


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • afandemultimedia replied

    Thank you, Sean!

    I have changed the color of the "eltd-hr-single-title-holder". Great!

    About the zoom level attribute, I can't find any parameter in the file helper-functions.php... Could you specify how to do it?

    Thank you very much.


  •  1,845
    Elated replied

    Hi there,

    Actually zoom level is set in a file on this location:

    wp-content\plugins\eltd-core\shortcodes\google-map\google-map.php

    On line 143:

    8471330812.png

    If you want to zoom in, you can increase this number.

    Let us know if there is anything else.

    Best regards!

    Joey


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • afandemultimedia replied

    Thank you for your help, Joey!

    It worked perfectly. Now, I was able to change the zoom level.

    Best regards

  •  1,845
    Elated replied

    Hello,

    You're welcome. Please let us know if there is anything else we can do for you, thanks!

    We hope it’s not too much trouble, but we’d really appreciate it if you could rate our theme on ThemeForest. Just visit the following link and select five stars next to our theme’s name: http://themeforest.net/downloads  This way you’ll be helping us improve our support services and make them even more efficient.

    Thank you in advance.

    Kind regards,

    Joey


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.