The Reviews extension allows you to display reviews from your Facebook Page on your WordPress site.
Below is an example of using the Reviews extension to display Facebook Page reviews.
Shortcode used above:
See the How to use tab above for directions on how to use the extension.
How to use
- Upload and install the extension plugin zip file. Extensions are installed just like any other WordPress plugin. You can follow the same process used when uploading and installing the Custom Facebook Feed Pro plugin.
- In order to retrieve reviews from your Facebook Page you need to obtain a “Page” Access Token from the page that you want to display reviews from. Follow the directions here to obtain one for your page.
Please note that you must be an admin for a Facebook page in order to obtain an Access Token for it. If you’re not an admin then the page owner can add you as one by following these directions.
- Once you have your Page Access Token then copy and paste it into the “Reviews Access Token” field which is added to the plugin’s Settings page.
- To display reviews simply set the Post Type to be “reviews”, as shown in the following shortcode:
Once the extension is installed, some customization settings will be added to the following location:
Facebook Feed > Customize > General > Reviews
You can choose to display only reviews which have received a specific rating, change the size of the star icons, and edit the “View all Reviews” text.
Displaying your total Facebook Page rating
Unfortunately, Facebook’s API doesn’t include the total star rating for your page, however, you can manually display this on your page by adding the following to your page above the shortcode:
5.0 <i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i>
This will display a 5 star total rating. You can change the number of stars by editing the code. Be sure to copy and paste it into the “Text” tab of the page editor so that it’s rendered as HTML.
The table below shows the available shortcode options for the Reviews extension:
|Display reviews||type||reviews||Display reviews in your feed||
|Show reviews rated||reviewsrated||1-5||Show reviews with these ratings||
|Star icon size||starsize||Any number||The size of the star icons||
|“View all Reviews” text||reviewslinktext||Any text||The text to use for the link||
|Page Access Token||pagetoken||–||The Access Token for the Facebook page you want to display reviews from. Note: this shortcode option only needs to be used if displaying multiple review feeds from different Facebook pages, otherwise you can set it on the main plugin Settings page.||