Support Notes
Please add this function to your MyHome Child Theme functions.php file with your custom CSS code (the one below example will change size heading 1 font size to 100px): function admin_style() { echo ' <style> h1 { font-size:100px!important; } </style> '; } add_action( 'admin_head...
Tue, 8 Feb, 2022 at 7:43 AM
Please use this CSS to center logo on mobile @media (max-width:1023px) { .logo_link { position: absolute!important; width: 100%!important; text-align: center!important; display: block!important; top: 0!important; right: 50px!important; padding-left: 100px!important; } } In this article you can ...
Fri, 24 Jun, 2022 at 8:13 AM
Create New Number Field e.g. Check slug of the field in your database, table: **_myhome_attributes In our case, it is: owner-phone-number Visit your /wp-content/myhome/templates/content-single-estate.php . Add there sample code anywhere: <h1> Owner phone number: ...
Fri, 24 Jun, 2022 at 8:14 AM
In the current version of MyHome, property ID is generated automatically by WordPress e.g. property below have ID: 113 WordPress ID is also 113 It is not possible to customize it because it is fully related to WordPress. The only option to make it more flexible is to create new new number field ...
Mon, 14 Feb, 2022 at 5:35 PM
Unfortunately in the current version of MyHome, "Print" option is not available. It will be also hard to add it to the single property page via external plugin because there is a lot of JavaScript code there that cannot be printed automatically (e.g. Slider Images or Plan Accordions). We will consider add...
Tue, 8 Feb, 2022 at 7:43 AM
This article shows how to redirect the user after purchase of WooCommerce Package to any page you wish. Please use this code in your Child Theme functions.php . You can read more about Child Themes here: How to use Child Theme? add_action( 'template_redirect', 'woocommerce_red...
Fri, 24 Jun, 2022 at 8:17 AM
If moderation is turned on and the user (agent) edits the published listing - MyHome will require the listing to be approved again by the administrator. If you wish to automatically accept all changes please use this code in your Child Theme functions.php add_filter( 'myhome_property_status',...
Fri, 24 Jun, 2022 at 8:18 AM
This PHP code change query order grom newest to modified. Important: Make sure you use the latest version of MyHome Theme and MyHome Core. Example: You added a property one month ago and changed the images to the newest, and you want to show this property on the first page. This code...
Fri, 24 Jun, 2022 at 8:18 AM
This PHP code added function to Wordpress for Username can be write in Arabic add_filter('sanitize_user', static function ($username, $rawUserName, $strict) { if (!$strict) { return $username; } return sanitize_user(stripslashes($rawUserName), fal...
Fri, 24 Jun, 2022 at 8:19 AM
This PHP code redirects user after submitting the property form. Info: You need to disable this option: add_filter('myhome_panel_after_save_property_redirect', function() { return 'https://example.com'; }); Change https://example.com to your link. Please...
Fri, 24 Jun, 2022 at 8:19 AM