ToolBox -

December 14th, 2010

Print this article

Add a comment!


There is built-in support for WordPress shortcodes, allowing bloggers to embed live listing data from the MLS into their blog posts / pages. Adding / editing these shortcodes is made easy by using the tools that dsIDXpress builds into WordPress’s page / post editor.

IDX Listing Detail

The idx-listing shortcode embeds a single listing into a blog post / page. For example, putting

[idx-listing mlsnumber="U8000471"]

into the post would show the LIVE primary information for that MLS #. If the price gets changed, photos get added, the property goes off the market, or otherwise anything at all changes, the data will always reflect the changes from the MLS. A blogger could also use the showall="true" option (i.e. [idx-listing mlsnumber="U8000471" showall="true"] ) to show ALL of the data for that area (extended details and features, price changes, schools, and even a map that will show up in Google Reader).

IDX Listings Results

The idx-listings shortcode embeds listings for particular areas into their blog pages / posts. For example, if a blogger typed

[idx-listings city="Laguna Beach" count="10"]

into their post, the 10 newest listings from the MLS in Laguna Beach would show up in place of that text when the post is displayed; each listing / photo links to the full property details. The data is live, so whether the post is viewed the next day or the next month, the 10 newest listings would always be displayed.

Available fields for shortcode filtering

Below are the list of fields you can use to filter listings when adding shortcode to your posts.

  • community="woodbridge"
  • tract="turtle rock"
  • zip="92612"
  • minprice="350000"
  • maxprice="500000"
  • propertytypes="430"

Additionally, you can sort the listings using any of these variables:

  • orderby="Price"
  • orderby="ImprovedSqFt"
  • orderby="LotSqFt"
  • orderby="Beds"
  • orderby="WalkScore"
  • orderby="Baths"
  • orderby="OverallPriceDropPercent"
  • orderby="DateAdded"
  • orderby="LastUpdated"

For additional filtering, you will need to use the Pro version of dsSearchAgent to create a custom filter link, then you can use shortcode to load your link’s listings.