Support Forum Forums Zihom – Real Estate WordPress Theme How to change the 3 default icon features on the property listing preview? Reply To: How to change the 3 default icon features on the property listing preview?

#3403

Hi,

You can display the Listing type in this blank position, but you will have to customize the code: https://prnt.sc/DSS0NVvMUtQ1

You need to overwrite the template files zihom/ulisting/loop/grid-style/grid-style-1.php in the child-theme and edit the following code:’

<div class="zihom-meta-extra">
                <?php
                $element_attribute                             = $element;
                $element_attribute['type']                     = "attribute";
                $element_attribute['params']['style_template'] = "ulisting_style_2";

                $element_beds                                  = $element_attribute;
                $element_beds['params']['attribute']           = "bedrooms";

                $element_baths                                 = $element_attribute;
                $element_baths['params']['attribute']          = "bathrooms";

                $element_area                                  = $element_attribute;
                $element_area['params']['attribute']           = "area";

                zihom_ulisting_get_attribute_template($model, $element_beds, 'bedrooms');
                zihom_ulisting_get_attribute_template($model, $element_baths, 'bathrooms');
                zihom_ulisting_get_attribute_template($model, $element_area, 'area');
                ?>
            </div>

and edit this code.