[sr_openhouses] – Show Open Houses anywhere on your site

The [sr_openhouses] short-code allows you to show upcoming and historical open houses on any page or post on your website. By default, the short-code will show all upcoming open houses starting today or in the future, or you can add filters to control which open houses are shown.

This short-code shows a list-view to the user, with links to view more details about the open house, MLS listing, and property. See the syntax section below to get started, then try adding search filters!

Syntax

Basic usage:

[sr_openhouses]

With options and filters:

[sr_openhouses cities="Houston; Magnolia" brokers="broker1; broker2"]

Options

The [sr_openhouses]short-code does not currently take any options outside of the search filters.

Search filters

Filters can be used to control which open houses are shows, how many are visible per page, and other things. You can use multiple filters at the same time, and some filters can take multiple values!

This short-code supports all of our API parameters. Check out the API docs here for a full list of search filters.

NameDefaultMultipleDescriptionExample
vendornullfalseThe RETS vendor to search (required with multi-mls accounts).vendor="har"
sortModifed, descendingfalseSort the open houses by list date, price , bedrooms, or bathrooms.sort="-listdate"
limit25falseThe number of results to show per page (max 500).limit="500"
listingIdnullfalseRequest open houses for a specific MLS # (.listingId)listingId="MLS1234"
startdate<now>falseShow open houses starting on this date or later.startdate="2020-01-01"
typeResidential; RentaltrueFilter open houses by property type.type="Condominium; Rental"
agentnulltrueFilter open houses by agent MLS ID(s).agent="agent1; agent2"
brokersnulltrueFilter open houses by broker MLS ID(s).brokers="office1; office2"
minpricenullfalseFilter listings by a minimum price.minprice="500000"
citiesnulltrueFilter listings by a city.cities="Houston; Chicago"

Check out the API docs here for more information and examples on using the search parameters.

Example

Raw short-code:

[sr_openhouses startdate="2015-01-01"]

Output:

0 listings matched your search. Please try to broaden your search criteria or try again later.

Close Menu