skip to Main Content
< All Articles

Create Custom Property Listing Styles

You can create custom property listing styles by following this.

  1. Create a template in PHP extension.
  2. Name it with style prefix like style9.php
  3. Create a directory in the root of your theme (or child theme) named rem
  4. Put style9.php template file in this directory
  5. Use 9 in style attribute of shortcodes to use it
  6. You can use the same method to override templates also

Suppose we created a template file named style9.php having following inner contents

<div class="landz-box-property box-grid mini">
    <?php do_action( 'rem_property_ribbon', $property_id ); ?>
	<a target="<?php echo $target; ?>" class="hover-effect image image-fill" href="<?php echo get_permalink($property_id); ?>">
		<span class="cover"></span>
		<?php do_action( 'rem_property_picture', $property_id ); ?>
		<h3 class="title"><?php echo get_the_title($property_id); ?></h3>
	<span class="price">
		<?php if (get_post_meta( $property_id, 'rem_property_price', true ) != '') { ?>
			<?php echo rem_display_property_sale_price($property_id); ?>
		<?php } ?>
	<div class="footer">
		<a target="<?php echo $target; ?>" class="btn btn-default" href="<?php echo get_permalink($property_id); ?>"><?php _e( 'Details', 'real-estate-manager' ); ?></a>

Put this file in wp-content/themes/your-activated-theme/rem/

Now use the following shortcode to use it.

[rem_list_properties style="9"]

Quick Navigation
Back To Top