The Contact Owner button from single listing page can be removed with css. #contact_host { display: none; } .owner-page-wrapper #contact_me_long { display: none; } #contact_me_long_owner { display: none; } The guest dropdown from contact owner form can be removed with this css #contact_owner_modal .form-control#booking_guest_no { display: none; } Check-in and check-out can be removed with […]
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).
Technical how to : Search forms
In WPRentals there are two search types : The horizontal one and the the vertical one. You can pick their style in Theme Options -> Advanced Search -> “Search Type” drop down. The vertical search from is the “type 1 ” and is located in the file templates/advanced_search_type2.php The horizontal search form is the ” type […]
Technical how to: Property List & Order Properties
There are two type of listings templates – the half map one and the normal map Regular property listing The classic property listing is created by making a page with the template “Properties List”. The file for this is property_list.php and is located in the root of the theme folder. We only use wp_query for […]
Technical how to: Integrate new payment gateway
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 […]
Technical – How to put a link to a static page from LOGIN / REGISTER buttons in top bar
If you want to replace the Login / Signup from the header with a custom link you need to go into top_user_menu.php and at line 27 you will find those labels. See the screenshot: You can replace theme with a classical link that will send to a registration page.
Technical – How Make Instant Booking checked 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 […]
Technical How to replace login modal with register modal when start to submit properties without login
In order to achieve above you must replace show_login_form(1,0,data); with show_login_form(2,0,data); in wprentals\js\ajaxcalls_add.js As displayed in below screenshot:
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=’http://yourdomain.com’;
How to change the login Icon on Mobile Menu and icons for My bookings or My Reservations with CSS
If you’d like to customize or replace icons in the mobile menu (e.g., Mobile Menu Icon, My Reservations, or My Bookings), follow the steps below using the WP Rentals Child Theme and custom css. This is an example for how to add a different icon. You can choose your icon code as you wish i.fas.fa-cogs […]
Technical How to : Change the submit property page
The submit page property is actually composed on 7 submit templates, each named after the data submitted. We have Description, Price, Images, Details, Location, Amenities and Calendar. For each of these pages the submission is made via an ajax mechanism, meaning that when you hit the save button the data inserted is read by a […]
Technical: How to enable Invoices in renter/user dashboard.
By default, the theme shows invoices only in the owner account. If you wish to show the list of invoices in the renter account as well the following changes need to be done: For mobile user menu remove highlighted code: Desktop user menu remove highlighted code: top user menu remove highlighted code: Then remove highlighted code as […]
Technical how to: Ical feeds
The ical feed you add in calendar is saved via ajax. The js code is at ajaxcalls_add.js at line 631 $(‘#edit_calendar’).click(function () {…… The php code is at line 505 in ajax_functions_edit.php , function wpestate_ajax_update_ical_feed() . The function that does the actual import is wpestate_import_calendar_feed_listing($edit_id); and can be found in icalendar.php file at […]
Technical: Remove per guest and per guest and night from custom booking options
To remove Per Guest and Per Day Per Guest Remove these lines from wprentals/templates/submit_templates/property_price.php