Technical how to

This technical help has been written by our development team based on the answers/directions provided to our clients who have asked for directions to modify the code. We published them hoping that they will help other clients with similar requests implement the modifications faster.

Please keep in mind that theme customization services ARE NOT included in the client standard support. Our support team cannot do code modifications for you.

Item support is a service provided directly by us through the FreshDesk ticket system. Support is limited to questions regarding the theme’s features or problems with the theme. We are not able to provide support for code customizations or third-party plugins. If you need help with anything other than minor customizations of your theme, we suggest searching for a WordPress developer on studio.envato.com.

Full Themeforest support policy is available here for further information (https://themeforest.net/page/item_support_policy).

Remove a section from front end submit form

This is an example for how to remove amenities section. Delete the Amenities from  submission header   Go to wprentals\templates\submission_guide.php  file and delete highlighted code displayed on below screenshot: 2. Delete the Amenities from  dashboard left menu area Go to wprentals\templates\user_menu.php file and delete highlighted code displayed on below screenshot:     3.  Redirect Save button from Location step to Calendar. Go to templates\submit_templates\property_location.php […]

Show images in property slider without crop

The code for carousel vertical is in templates/property_pictures3.php file. Images are resized using these resize rules: listing_full_slider,  listing_full_slider_1 and wpestate_slider_thumb To remove the resize rule for images must edit templates/property_pictures3.php and replace above resize rules with full. Next must add below css in Theme options – Design – Custom CSS ( help:  https://help.wprentals.org/article/3029/ ) .carousel-inner .fancybox-thumb img { height: 337px!important; width: auto!important; […]

How to force user login on contact form

By default a non logged user can contact any listing owner. If you want force users to be logged in before contact property owner you need to do this change.   In js/property.js you have this code around line 250 function wpestate_show_contact_owner_form(booking_id, agent_id) { var ajaxurl; ajaxurl = ajaxcalls_vars.admin_url + ‘admin-ajax.php’; jQuery(‘#contact_owner_modal’).modal(); enable_actions_modal_contact(); // if( […]

Make Instant Booking by default

In property_description_first.php and property_description.php files replace <input style=”float:left;” type=”checkbox” class=”form-control” value=”1″ id=”instant_booking” name=”instant_booking” <?php print $instant_booking; ?> > with <input checked style=”float:left;” type=”checkbox” class=”form-control” value=”1″ id=”instant_booking” name=”instant_booking” <?php print $instant_booking; ?> >

How to remove guest field

DISCLAIMER: This technical help has been written by our development team based on the answers/directions provided to our clients who have asked for directions to modify the code. We published them hoping that they will help other clients with similar requests implement the modifications faster. Please keep in mind that theme customization services ARE NOT […]

How To Add Custom CSS

You may wish to modify some design elements and that may require using a custom css. You can add custom css in Theme Options – Design  – Custom CSS. The modifications you do here are NOT overwritten when you do a theme update Or add the changes in child theme – style.css How to install / […]

How to remove menu items from property page with custom CSS

You can remove the menu items from property page with custom CSS  For Description use: .property_menu_wrapper_hidden a:nth-of-type(1) { display: none; } For Details use: .property_menu_wrapper_hidden a:nth-of-type(2) { display: none; } For Amenities use: .property_menu_wrapper_hidden a:nth-of-type(3) { display: none; } For Availability use: .property_menu_wrapper_hidden a:nth-of-type(4) { display: none; } For Yelp use: .property_menu_wrapper_hidden a:nth-of-type(5) { display: […]