Skip to main content
Home Documentation Property Shortcodes

Property Shortcodes

5 mins read
Version: 2+
82

Havenlytics provides powerful shortcodes to display property listings, lists, and search forms anywhere on your website. Upon plugin activation, three default pages are automatically created, each pre-configured with the appropriate shortcode so you can get started immediately.

1. Property Grid Shortcode

Page Name: Property Grid — Havenlytics

Display properties in a grid layout.

Basic Usage:

SHORTCODE

[hvnly_property_grid]

Columns Configuration:

COLUMNS

[hvnly_property_grid columns="2"]

COLUMNS

[hvnly_property_grid columns="3"]

COLUMNS

[hvnly_property_grid columns="4"]

COLUMNS

[hvnly_property_grid columns="5"]

COLUMNS

[hvnly_property_grid columns="6"]

Featured Properties Only:

FEATURED

[hvnly_property_grid featured_only="yes"]

Department Filters:

RENT

[hvnly_property_grid department="rent"]

SALE

[hvnly_property_grid department="sale"]

COMMERCIAL

[hvnly_property_grid department="commercial"]

LET

[hvnly_property_grid department="let"]

Featured + Department Combined:

RENT FEATURED

[hvnly_property_grid department="rent" featured_only="yes"]

SALE FEATURED

[hvnly_property_grid department="sale" featured_only="yes"]

Price Range Filter:

PRICE RANGE

[hvnly_property_grid department="rent" min_price="200000" max_price="500000"]

PRICE RANGE

[hvnly_property_grid department="sale" min_price="500000" max_price="1000000"]

Bedrooms Filter:

3 BEDS

[hvnly_property_grid department="rent" bedrooms="3"]

4 BEDS

[hvnly_property_grid department="sale" bedrooms="4"]

FEATURED 2 BEDS

[hvnly_property_grid department="rent" bedrooms="2" featured_only="yes"]

Bathrooms Filter:

2 BATHS

[hvnly_property_grid department="rent" bathrooms="2"]

3 BATHS

[hvnly_property_grid department="sale" bathrooms="3"]

Reception Rooms Filter:

2 RECEPTION

[hvnly_property_grid department="rent" reception_rooms="2"]

Multiple Filters Combined:

COMBINED

[hvnly_property_grid department="rent" bedrooms="3" bathrooms="2" featured_only="yes"]

COMBINED

[hvnly_property_grid department="sale" bedrooms="4" bathrooms="3" min_price="500000"]

Property Type Filters:

APARTMENT

[hvnly_property_grid property_type="apartment" department="rent"]

HOUSE

[hvnly_property_grid type="house" department="sale"]

Location Filters:

NEW YORK

[hvnly_property_grid location="new-york" department="rent"]

LOS ANGELES

[hvnly_property_grid location="los-angeles" department="sale"]

Status Filters:

FOR SALE

[hvnly_property_grid status="for-sale" department="sale"]

FOR RENT

[hvnly_property_grid status="for-rent" department="rent"]

Feature Filters:

POOL

[hvnly_property_grid feature="pool" department="rent"]

GARAGE,GARDEN

[hvnly_property_grid features="garage,garden" department="sale"]

Tag Filters:

LUXURY

[hvnly_property_grid tag="luxury" department="rent"]

WATERFRONT,NEW

[hvnly_property_grid tags="waterfront,new" department="sale"]

Badge Filters:

FEATURED

[hvnly_property_grid badge="featured" department="rent"]

NEW,POPULAR

[hvnly_property_grid badges="new,popular" department="sale"]

Area / Square Footage Filters:

1500 SQFT

[hvnly_property_grid department="rent" sqft="1500"]

2000 AREA

[hvnly_property_grid department="sale" area="2000"]

Garage Filter:

2 GARAGE

[hvnly_property_grid department="rent" garage="2"]

Year Built Filter:

YEAR 2020

[hvnly_property_grid department="rent" year_built="2020"]

Custom Posts Per Page:

10 PER PAGE

[hvnly_property_grid department="rent" posts_per_page="10"]

15 PER PAGE

[hvnly_property_grid department="sale" posts_per_page="15"]

Specific Property IDs:

SPECIFIC IDS

[hvnly_property_grid ids="PR-2025-00000001,PR-2025-00000005"]

Exclude Properties:

EXCLUDE

[hvnly_property_grid department="rent" exclude="PR-2025-00000003"]

Custom Ordering Options:

PRICE LOW

[hvnly_property_grid department="rent" orderby="price_low"]

PRICE HIGH

[hvnly_property_grid department="sale" orderby="price_high"]

DATE ASC

[hvnly_property_grid department="rent" orderby="date_asc"]

DATE DESC

[hvnly_property_grid department="rent" orderby="date_desc"]

TITLE ASC

[hvnly_property_grid department="rent" orderby="title_asc"]

TITLE DESC

[hvnly_property_grid department="rent" orderby="title_desc"]

BEDROOMS

[hvnly_property_grid department="rent" orderby="bedrooms"]

BATHROOMS

[hvnly_property_grid department="rent" orderby="bathrooms"]

AREA

[hvnly_property_grid department="rent" orderby="area"]

RANDOM

[hvnly_property_grid department="rent" orderby="rand"]

Hide Pagination:

NO PAGINATION

[hvnly_property_grid department="rent" show_pagination="no" posts_per_page="5"]

Custom Class and ID:

CUSTOM CSS

[hvnly_property_grid department="rent" class="my-custom-grid" id="rent-properties"]

Results Bar Position:

TOP

[hvnly_property_grid department="rent" results_bar_position="top"]

BOTTOM

[hvnly_property_grid department="rent" results_bar_position="bottom"]

BOTH

[hvnly_property_grid department="rent" results_bar_position="both"]

Hide Results Count:

HIDE COUNT

[hvnly_property_grid department="rent" show_results_count="no"]

2. Property List Shortcode

Page Name: Property Lists — Havenlytics

Display properties in a list layout for detailed viewing.

Basic List View:

BASIC LIST

[hvnly_property_list]

List with Filters:

FEATURED RENT

[hvnly_property_list department="rent" featured_only="yes"]

SALE 4 BEDS

[hvnly_property_list department="sale" bedrooms="4" bathrooms="3" min_price="500000"]

NEW YORK

[hvnly_property_list location="new-york" department="rent"]

APARTMENT

[hvnly_property_list property_type="apartment" department="rent"]

List Ordering Options:

PRICE LOW

[hvnly_property_list department="rent" orderby="price_low"]

PRICE HIGH

[hvnly_property_list department="sale" orderby="price_high"]

DATE DESC

[hvnly_property_list department="rent" orderby="date_desc"]

RANDOM

[hvnly_property_list department="rent" orderby="rand"]

List Custom Settings:

CUSTOM

[hvnly_property_list department="rent" posts_per_page="10" show_pagination="no"]

CUSTOM CSS

[hvnly_property_list department="rent" class="my-custom-list" id="rent-properties"]

RESULTS BAR

[hvnly_property_list department="rent" results_bar_position="both" show_results_count="no"]

Note: All filter options available for the grid view also work with the list view. Simply replace hvnly_property_grid with hvnly_property_list in any example above.

3. Property Search Shortcode

Page Name: Property Search — Havenlytics

Display a dynamic property search form anywhere on your site.

SEARCH

[hvnly_property_search]

Was this documentation helpful?

Havenlytics Documentation v2.0.0

Search Documentation