Getting started
Manual data entry
Menu
Getting started
Manual data entry
Templating Properties grid

Properties grid

Last updated: December 12, 2025

The [rentfetch_properties] shortcode (documentation on default usage and options) uses a modular hook system to render each property in the grid. To replace the entire layout for each property, you need to override the default action hook.

Default Hook Structure

The shortcode calls do_action( 'rentfetch_do_each_property_in_archive' ) for each property, which by default executes rentfetch_each_property_in_archive_simple().

This default function outputs:

  • Property images (via rentfetch_do_property_images action)
  • Specials text
  • Property title
  • Property location

Complete Layout Replacement

To replace the entire property layout with your custom design:

<?php
remove_action( 'rentfetch_do_each_property_in_archive', 'rentfetch_each_property_in_archive_simple' );

function hello_world_property() {
    echo '<div>Hello World</div>';
}
add_action( 'rentfetch_do_each_property_in_archive', 'hello_world_property' );

Available Data Functions

Use these functions to retrieve property data in your custom layout (these are the ones used in the default layout):

  • rentfetch_get_property_title() – Property title
  • rentfetch_get_property_location() – Formatted location
  • rentfetch_get_property_specials_from_meta() – Special offers text
  • rentfetch_get_property_permalink() – Property page URL
  • rentfetch_get_link_target( $url ) – Link target attribute
  • Additional functions available in functions-properties.php

Take Your Apartment Website to the Next Level

Whether for an entire portfolio or a single property, get completely setup and sync new property info & floor plan data in 10 minutes or less.

Trusted By

Cowboy Partners

Brickstone

Four Star

StreetLights

Richmark

Gates Hudson

Try Rent Fetch Today

We offer a 30-day, money-back guarantee.