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. 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).

How to Display Category Descriptions

The theme uses the taxonomy description in page source for SEO reasons, however, you don’t see it visible on the category page as we allow users to add a different kind of content in such pages. Here is the code of a page with the category description showing (search engines read this value and index […]

How to change-auto-complete-address-rules-different-fields

In order to change rules for autocomplete you need to go to wpresidence\js\google_js\ google_map_submit and change the levels as per your needs All details on Google geocoding can be found here: https://developers.google.com/maps/documentation/geocoding/intro This is helpful for the clients that use Google autocomplete feature and the input from Google is not accurate, for example,the city is saved as area. […]

Hoe to stop Edit Listing emails

In order to stop the emails received on property edit you need to go to wpresidence/user_dashboard_add.php and remove admin_email

How to hide address elements from Add New property with custom css

To hide address elements from submission form plaese use the below CSS.  The css needs to be added in Theme Options-Design-Custom Colors=-Custom CSS or Child Theme-Style.css 1.Address field  [for=”property_address”] { display: none; } [id=”property_address”] { display: none; }   2. County/State [for=”property_county”] { display: none; } [id=”property_county”] { display: none; }   3. City [for=”property_city”] […]

How to display decimals on default property price

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

Edit Breadcrumbs URL

The breadcrumbs are in templates/breadcrumbs.php. If you want to change the way they are displayed you can modify the file. Please note that there some check in there like if the page is a category or if is a front page if( $category!=”){ print ‘<li>’.$category.'</li>’; } if(!is_front_page()){  

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; } } Result: How to add Custom CSS directly in theme options – http://help.wpresidence.net/article/how-to-add-custom-css/

Show Login Modal After User Successfully Register

Please add the following code in ajaxcalls.js as displayed in below screenshot: setTimeout(function(){ jQuery(‘#widget_login_topbar’).trigger(‘click’); }, 3000); After the “you can login” message is displayed the script will wait for 3 seconds and then display the login form. If you want to change the waiting duration replace the 3000 with your number (1sec = 1000 )

Remove decimals from size number format

To remove decimals from measurement units must change number format for size value to not include decimals. Help for number format issue: http://php.net/manual/en/function.number-format.php Screenshot with the place where must change it The file where you must make the change is help_functions.php

Property Card – How to open in new page

For both WpResidence and WpEstate theme you need to edit the file templates/property_unit.php For the links that want to open in a new page you need to add target=”_blank”. Please note that there are several places where you need to make this change – Look for the