Difference between revisions of "JReviews:ShortCodes"

From JReviews Documentation
Jump to: navigation, search
Line 12: Line 12:
 
[[File:Shortcodes-example.png]]
 
[[File:Shortcodes-example.png]]
  
 +
There are two types of shortcodes: '''listings''' which reuses the functionality of the [[Listings Module]] and '''reviews''' which reuses the functionality of the [[Reviews Module]]
 +
 +
== Listings shortcode ==
  
  

Revision as of 11:33, 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:

Shortcodes-example.png

There are two types of shortcodes: listings which reuses the functionality of the Listings Module and reviews which reuses the functionality of the Reviews Module

Listings shortcode