[dmo-tripadvisor-review-snippets]
Displays a clickable TripAdvisor Review Snippets widget for a particular Place, like this one:
Syntax
[dmo-tripadvisor-review-snippets $place_id class="myClass1 myClass2" is_wide="true"]
This shortcode does not require a closing tag, but one may be used if desired. Content between the opening and closing function tags is ignored.
Parameters
$place_id
Default Value: When used within the loop, this value defaults to the current Post ID. When used outside the loop, this value must be supplied.
Acceptable Values: A single integer representing a WordPress Post ID that corresponds to a Place.
class
Default Value: An empty string.
Acceptable Values: A string representing one or more space-separated CSS classnames.
Appends the specified string to the contents of the HTML class
attribute of the map container element. To specify multiple CSS classnames, separate them with spaces just as you would with the HTML class
attribute.
is_wide
Default Value: false
Acceptable Values: true
or false
By default, this shortcode displays a button/thumbnail size widget (max-width: 160px). By adding is_wide="true"
to this shortcode, a wider (max-width: 468px) widget is used.