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 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 Price use: .property_menu_wrapper_hidden a:nth-of-type(2) { display: none; } For Details use: .property_menu_wrapper_hidden a:nth-of-type(3) { display: none; } For Amenities use: .property_menu_wrapper_hidden a:nth-of-type(4) { display: none; } For Availability use: .property_menu_wrapper_hidden a:nth-of-type(5) { display: […]

Where are properties stored in WordPress database

All the property info is kept in wp_post table in your wordpress database. Additional information is also kept in wp_postmeta table. You can check the whole database structure (we are using wordpress default database and do not add new tables) here: https://codex.wordpress.org/Database_Description

Edit theme icons colors in child theme

Install the child theme with modified icons For easy setup you can use the the demo1, santorini or ibiza child themes with custom colors and then just edit the icons from css/css-images with FireWorks and then replace in the same location. The child theme can be taken from “ALL FILES AND DOCUMENTATION” zip – which […]

Remove fields from half map with css for search type 1 and 2

Please use the below CSS in Theme Options-Design-Custom CSS or Child Theme if you wish to remove certain fields from search type 1 and 2. For “Where do you want to go ?” use below CSS: .advanced_search_map_list_container [class*=’col-‘]:nth-child(1){ display: none!important; } For “Check in” use below CSS: .advanced_search_map_list_container [class*=’col-‘]:nth-child(2){ display: none!important; } For “Check out” […]

How to select only one Extra options in Booking form

If you have more than one extra options and you wish to be able to check only one you need to make the below changes: In  help_functions.php in function wpestate_show_extra_options_booking, replace checkbox with radio as per the below screenshot After you will need to adjust the radio buttons with custom css .cost_explanation input[type=”radio”] { height: […]

Contact Form 7 Custom CSS to match theme forms design

button, html input[type=”button”], input[type=”reset”], input[type=”submit”]{ margin-top: 0px; padding: 13px 15px; color: #fff; background-color: #4d5567; font-size: 16px; font-weight: 600; width: 327px; margin-bottom: 0px; border-radius: 2px; }   .wpcf7-form-control-wrap input[type=text], .wpcf7-form-control-wrap input[type=password], .wpcf7-form-control-wrap input[type=email], .wpcf7-form-control-wrap input[type=url], .wpcf7-form-control-wrap input[type=number], .wpcf7-form-control-wrap textarea { background-color: #fff; border: 1px solid #e7e9ef; color: #8A8F9A; height: 50px; padding:15px; } .ui-widget .ui-widget { font-size: […]

HOW TO: admin needs to approve listings after each edit.

The idea is to change the property status into pending everytime someone make an edit. There may be a “logistic” problem since there are 7 separate functions that edit a property and you will have to add code in each of these function for description – function is wpestate_ajax_update_listing_description add this code for price – […]