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

Full Themeforest support policy is available here for further information (

Technical: Location of MetaTag Description in Taxonomy Pages

In wprentals-core plugin – file wprentals-core.php you have this WordPress action add_action(‘wp_head’, ‘wpestate_add_custom_meta_to_header’); In the function of this action you have various meta tags for some situation. To remove the description tag for taxonomy just remove the line 293  print ‘<meta name=”description” content=”‘.strip_tags( term_description(”, get_query_var( ‘taxonomy’ ) )).'” >’; Or you can populate the term […]

Technical: Where to change email parameters?

The send email function are in wprentals-core plugin in misc/emailfunctions.php file There are several functions wpestate_select_email_type – which selects the email type wpestate_emails_filter_replace – replaces the placeholders (%invoice ) in content wpestate_send_emails – actually sends email If you look into the theme files for wpestate_select_email_type you will find around 32 occurrences for various scenarios If […]

Random Order for Search Results – Half Map

First of all please be aware that random order can dramatically increase the page loading time – especially when other database queries are made like in advanced search case.  We do not recommend this. If you want to go further in search_functions3.php file you have function wpestate_arguments_builder In this function you have an $args […]

Technical: KML layers to Google Maps

If you wish to add KML layers to Google Maps The file to edit in Wp Rentals is File path: wprentals/js/google_js/maps_base.js

Technical: Change Redirect Page after Booking Payment

The redirect code for after payment for when a booking is done works so that user is redirected to My Reservations page in user dashboard. The code is in below templates themes/wprentals folder The redirect can be done to a general link or another custom page template Ex: for a redirect link $redirect=​’’;

Technical: How to change number of days before payment due (Send Reminder Email)

The cron that checks the event for the automatic email “Send reminder email!” has the name: setup_wpestate_full_invoice_payment_reminder The cron runs daily and sends 1 automatic email to users who have a confirmed booking that starts 3 days before the current day. There is a maximum limit of 3 emails that can be sent (1 automatic […]

How to remove items from theme search auto-complete

In theme we have option to use theme auto-complete for Location. See this help where is explained how to setup it: Data from autocomplete sums all details saved for each listing in these fields: City, Area, County, State, Country –> To remove from theme auto-complete data from City field must remove highlighted code from function event_wp_estate_create_auto_function from  wp-content\themes\wprentals\libs\events.php file. –> To remove […]

Remove custom price calendar table from listing page

Go to libs\listing_functions.php file and  from function wpestate_show_custom_details ()  remove the code between  line 368 to 580 that is inside to if(is_array($mega)){}. Hide with custom css .custom_day_wrapper { display: none; } @media only screen and (max-width: 1024px){ .custom_day_wrapper_mobile { display: none!important; } } How to add custom css –

Technical: 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: ) .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 to force users to be logged in before contact property owner you need to do this change. After 2.6 theme update In wprentals/js/property.js you must add the below code if( property_vars.logged_in===”yes” ){ jQuery(‘#contact_owner_modal’).modal(); enable_actions_modal_contact(); }else{ login_modal_type=2; $(‘#topbarlogin’).trigger(‘click’); } Before 2.6 theme […]

Make Instant Booking by default

In templates/submit_templates/property_description_first.php 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; ?> > The “” from the code, need to be replaced manually in the pasted code or you can write manually the new code to make sure it will […]

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. Clear theme cache  

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: […]