Simply copy this script on the page you want to display the widget, and add a nn-reviews div anywhere on your page that you’d like to reviews to be displayed.
You can customize the widget script by adding data tags. Here’s a list of the available data tags:
data-key Your API Token
data-type The type of widget you want to display (defaults to mini)
data-count The number of reviews to display (sidebar and full widgets only)
data-container The div element to append the widget to (defaults to nn-reviews)
data-tech The email address of the user who’s reviews you want to display
There are three types of widgets available. The default type is “mini”. You can supply a type data tag to change the default widget type.
The mini widget displays your accounts aggregate review rating, number of stars, and a count of total reviews. Example
The sidebar widget displays the mini-widget, plus a lite version of your three most recent reviews. You can change the widget to display more reviews by supplying a count data tag: data-count="5". This widget is great for displaying reviews on your website sidebar. Example
The full widget displays the mini-widget, plus your three most recent reviews including the sub-ratings. You can change the widget to display more reviews by supplying a count data tag: data-count="5". Use this widget if you want to display your reviews as the primary content of a page. For example, this widget fits nicely on a home page below your existing home page content. Example
Here are a few examples of various ways to embed the widget:
Here’s a full working example of a custom user profile page: