Using Shortcodes to Display MLS Content
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-listings shortcode embedsd listings for particular areas onto 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.
IDX Listing Results:
The idx-listing shortcode embeds a single listing into a blog post/page. For example, putting:
…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).
Available fields for shortcode filtering:
Below are the list of fields you can use to filter listings when adding shortcode to your posts.
- tract=“turtle rock”
Additionally, you can sort the listings using any of these variables:
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.