How do I add a review widget to my site?
Updated · Widgets
There are 9 widgets. Each shows your published reviews in a different shape, on WordPress or any other site.
Copy the code
- In the sidebar, under Widgets, open Gallery.
- Pick a widget. The preview shows it with your reviews.
- Under Embed code, choose your Platform: WordPress, Next.js, React, or HTML. It opens on the platform you picked in setup, or on WordPress if you haven't picked one.
- Copy the code and paste it where the widget should appear.
On WordPress, the code is a shortcode, and it needs the PepReviewPro plugin. The HTML code works on any site. On Next.js and React, it is a component from @pepreviewpro/react, such as <Carousel />. Put it inside the PepReviewProProvider from your quick start. Show reviews with React
Two widgets need a value
Review Wall needs a number of columns. In the HTML code, change cols=2. On a component, set cols.
Product Stars needs a product. In the HTML code, replace PRODUCT_ID with the product's id in your store. On a component, set productRef, as in <ProductStars productRef="your-product-id" />.
The widgets
- Carousel: Rotates through reviews under your overall rating. Fits sidebars and product pages. Shortcode:
[pepreviews_display] - Review Wall: Shows several reviews at once. Made for testimonial pages. Shortcode:
[pepreviews_display type="grid"] - Trust Badge: Your score and stars in a compact badge. Fits headers and footers. Shortcode:
[pepreviews_display type="badge"] - Floating Badge: Stays in a corner of every page and links to your reviews. Shortcode:
[pepreviews_floating_badge] - Product Stars: Your rating and its breakdown. Place it under a product title. Shortcode:
[pepreviews_stars] - Sidebar Panel: A column of recent reviews with your brand on top. Shortcode:
[pepreviews_display type="sidebar"] - Review Ticker: Reviews scroll across the page. Good for homepages and announcement bars. Shortcode:
[pepreviews_display type="ticker"] - Trust Seal: A verification seal with your rating. Fits footers and checkout pages. Shortcode:
[pepreviews_display type="trust-seal"] - Review Form: Lets customers write a review right on your site. Shortcode:
[pepreviews_form]
The floating badge on every page
In WordPress, the Floating Badge can sit in a corner of every page. Open PepReviewPro in the WordPress sidebar. Under Floating trust badge, turn on Auto-placement, choose a Position, and save. Add ?prp_no_badge=1 to a page's address to hide it there.
The number a widget shows
Every widget shows your PepReviewPro score, the number on your store page. On a WordPress site, that takes plugin version 4.5.0. Older versions show a plain average of the reviews they hold. See how your score adds up.
Widgets and Google
A widget on a product page, added through the WordPress plugin, carries that product's rating in a form Google can show. Your home page rating is for visitors, not for Google, which does not show a store's own rating on its own home page. See how you show up on Google
PepReviewPro branding
Widgets show PepReviewPro branding unless you are on Professional, which replaces it with your own.
Was this helpful?