Technical how to | Custom Code Required

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.

Please read the full Themeforest support policy is available here for further information (https://themeforest.net/page/item_support_policy).

Technical how to: Footer Contact form

The WPResidence has 2 buttons that becomes visible when you scroll the page. One of these buttons is a contact button. When you press the button a contact form is appearing. The contact form is displayed via a javascript event that is in control.js $(‘.contact-box ‘).click(function(event){ event.preventDefault(); $(‘.contactformwrapper’).toggleClass(‘hidden’); contact_footer_starter(); }); *** the contact form is […]

Technical how to : Integrate new payment gateway

There are 2 main places where you should add your code when adding a new payment gateway: The places where you put the pay now buttons and send requests to the payment processor servers. A new page where the processor server will send the response to your transaction (accepted, rejected etc). Where to add the […]

Email : Extra parameters on contact form email

Question:  Is there a way using your custom form or to pull the listing page metadata into the email? Example: Listing Title: Price: Property ID: Property Address: Answer : The answer is yes. You need to edit the file  misc/emailfunctions.php from  theme plugin:  wpresidence-core. In there you have function wpestate_ajax_agent_contact_form. There is 2 types of emails – […]

Half map template : half map has no footer

Question: This page does not appear footer, why? Answer: On half map pages the design doesn’t allow footer because the map is fixed while properties scroll depending on pagination settings.

Technical: Remove or Change content from default Property Page template

Question: How do I remove content from property page? Answer : There are 2 PHP files now that are listed based on the options set Single-estate_property calls the design – accordion or tabs – from a different template : templates/property_page_acc_content.php Single-estate_property calls the tabbed n content from a different template. : templates/property_page_tab_content The information is displayed using various […]

Technical: How to delete Sort Filters from properties list or advanced search results

Filters can be removed using custom CSS or directly from code. CSS Solution For Advanced Search Sort Filters.  Also, it applies to order filters from the property list page. .advanced_filters .order_filter_single [data-value=”3″] { display: none; } [data-value=”3″] Hides 3rd value in dropdown in this example. ​For property list use below cSS: .listing_filter_select.order_filter .filter_menu li:nth-of-type(4) { […]

Technical: Registration HTML code

Question: Where is the user registration html code ? Answer: The registration html code that is on header is located on top_user_menu.php file. Please note that there is also a widget (wp-content\plugins\wpresidence-core\widgets\login_widget.php)  and a shortcode on wp-content\plugins\wpresidence-core\shortcodes\shortcodes.php

Technical: How to make mobile advanced search open by default

To make mobile search open by default add this CSS in Theme options > Design > Custom Css @media only screen and (max-width: 768px){ #adv-search-mobile { display: block!important; } } Help article about how to add custom CSS Result: Tip: If you have theme cache enabled, make sure you clear cache to see instant results.