WPRealty Short Code

Jan 31st, 2010No Comments

Short code, lots of it, this new release of WPRealty 2.0.6 finally enables all that beta stuff we have had users testing for almost 7 weeks now known as WordPress short code. With the new short code elements in WPRealty end users can quickly apply simple attributes directly inline with their content or even text widgets to pass arguments to functions that display things such as featured listings.

What does the new short code look like? Here is the first release inventory of what we currently have.

For Embedding FEATURED listings use the following short-code samples and replace the count=”#” to display the number of listings – Please note that these featured_listing_vertical.html and featured_listing_horizontal.html templates are located in our templates editor
[wp-realty-listings-featured-vertical count="4"]
[wp-realty-listings-featured-horizontal count="4"]

These are simple examples of how to use short-code to build various strings that will display listings right into your content.

NOTE* Template used with samples below is called embed-template.html and is located in our templates editor.

NOTE* These are only examples. The data fields shown “Subdivision” or “Neighborhood” will have to match the data field (Names) in YOUR site.

“Subdivision – (Your Subdivision Name) (5) Random ordered by price DESC “
[wp-realty-listings fields='Subdivision' values="replace with subdivision name" orderby="price" orderdir="DESC" count="5"]

“City – (Your City Name) (5) Random ordered by price DESC “
[wp-realty-listings fields='City' values="replace with city name" orderby="price" orderdir="DESC" count="5"]

“City – (Your City Name) (5) Ordered by price DESC”
[wp-realty-listings fields='City' values="replace with city name" orderby="price" orderdir="DESC" count="5" sort_type="global"]

“5 Most expensive listings in “
[wp-realty-listings orderby="price" orderdir="DESC" count="5" sort_type="global"]

“City – (Your City Name), Agent ID – 63 (5) Ordered by price DESC [multple criteria example]“
[wp-realty-listings-remote fields='City,Agent_ID' values="replace with city name,63" orderby="price" orderdir="DESC" count="5" sort_type="global"]

We will be adding more samples soon but for now enjoy the POWER of true SEO embedded listings by using our short code system.

Leave a Reply