Difference between revisions of "JReviews:ShortCodes"
From JReviews Documentation
Line 18: | Line 18: | ||
== Listings shortcode == | == Listings shortcode == | ||
+ | There are many parameters that you can use: | ||
+ | {| class="wikitable" cellpadding="0" cellspacing="0" | ||
+ | |- | ||
+ | | '''parameter''' | '''example''' | '''available options''' | ||
+ | |- | ||
+ | | listing_order | listing_order="latest" | latest|rdate|rating|rrating|topratededitor|raviews|random|featuredrandom|rhits|proximity | ||
+ | |} | ||
Revision as of 11:56, 14 September 2016
JReviews Shortcodes allow you to embed listings or reviews inside an article text.
For example, this shortcode would display a listing with an alias "westville-east":
[jreviews type="listings" listing-alias="westville-east" summary="1"]
Inside an article that shortcode displays this:
There are two types of shortcodes:
- listings - reuses the functionality of the Listings Module
- reviews - reuses the functionality of the Reviews Module
Listings shortcode
There are many parameters that you can use:
example | available options |
listing_order="latest" | latest|rdate|rating|rrating|topratededitor|raviews|random|featuredrandom|rhits|proximity |