Support Notes

How to display Currency in Indian Numbering Format in PHP (e.g. Rs. 3,00,00,000)?
Please add this code to your MyHome Child Theme functions.php file   function moneyFormatIndia($num) { $explrestunits = ""; if (strlen($num) > 3) { $lastthree = substr($num, strlen($num) - 3, strlen($num)); $restunits = substr($num, 0, strlen($num) - 3); $restunits = (strlen($restunits) % 2 ==...
Tue, 8 Feb, 2022 at 7:42 AM
PHP Customization - how to limit property card address length (e.g. max 9 words)?
1. Find plugins/myhome-core/includes/estates/Estate.php 2. Backup the file 3. Find get_name function public function get_address() { if ( ! empty( \MyHomeCore\My_Home_Core()->settings->props['mh-estate_hide-address'] ) ) { return ''; } $location = $this->get_location()...
Tue, 8 Feb, 2022 at 7:42 AM
How to use Child Theme?
Child Theme is recommended way to modify any free or premium WordPress Theme. If you use it you can modify any Theme file and make it possible to update theme in the future.   If you do not plan to modify theme files ( e.g. php or .css file ) you do not need to use Child Themes.   I. How to download MyHome Chil...
Thu, 23 Jun, 2022 at 12:45 PM
WPML RTL Child Theme - unique style sheet for RTL version?
If you are using in the same time: WPML plugin At least one RTL language Child theme You can change default function.php file in your child theme to have separate additional sheet for RTL version (RTL version will use both MyHome Child files - style.css and style-rtl.css ) 1. Please open your /wp-cont...
Tue, 8 Feb, 2022 at 7:42 AM
PHP Customization - How to add social buttons via PHP on the single property page?
If you wish to display the Easy Social Share Buttons in the new place on the single property page please: 1. Find /wp-content/themes/myhome/content-single-estate.php file 2. Backup the file 3. Please add below code in the any place: <?php \MyHomeCore\My_Home_Core()->essb->display( \MyHomeCo...
Mon, 14 Feb, 2022 at 5:53 PM
How to quickly delete demo content (properties / media / fields / fields values)?
1. Login to /wp-admin/ 2. Click Properties 3. Click Screen Options (very rarely, but for some users it can not open, it is usually because of the AdBlock plugin - please disable it on your page) 4. Set number of properties to 200 and click "Apply" 5. Click checkbox at the corner to check all pro...
Mon, 14 Feb, 2022 at 5:52 PM
Server requirements: PHP version
MyHome require server PHP version 7.4 or higher. PHP versions 7.3, 7.2, 7.1 are too old and no longer supported by PHP (source link:http://php.net/supported-versions.php).     If your server use the old version of PHP it is exposed to unpatched security vulnerabilities and works much slower than any new versio...
Tue, 30 Jan, 2024 at 11:43 AM
PHP Customization - how to display number of properties in Taxonomy (Text Field)?
You can use - https://codex.wordpress.org/Function_Reference/get_term function for this. We will show how to display number of properties For Sale in the Offer Type as en example on the single property page 1. Visit Offer Type page and check a slug of the field (here: offer-type) 2. Hover For Sale to see its I...
Mon, 14 Feb, 2022 at 5:52 PM
Demo map do not display my properties. How to fix it?
Some of the maps imported in the demo content have default values set. You can easily reset it: 1. Visit the page that map do not display properties     2. Edit page with WPBakery Page Builder 2. Edit Map and go to "Default values" tab. Please set predefined values to "A...
Mon, 14 Feb, 2022 at 5:51 PM
Customization: How to add "Go To Google Maps" button into single property page map panel?
How to add this button? You can use this code below e.g. paste it at the bottom of your /wp-content/themes/myhome/templates/content-single-estate.php file: <style> .mh-map-panel__element--gmap:hover a { color: #fff!important; } @media (max-width:767px) { .mh-map-panel > div:not(.mh-map-panel__...
Mon, 14 Feb, 2022 at 5:51 PM