Ir al contenido

Expert Reviews

Esta página aún no está disponible en tu idioma.

The Expert Reviews module creates a separate post type (CPT) for publishing expert product reviews: editorial reviews written by the store, kept apart from customer reviews.

Go to Polski > Modules and enable the Expert Reviews module in the "Storefront" section. The module is off by default. Its row has a Manage reviews link to the review list.

After enabling the module, go to Products > Expert Reviews > Add review.

Field Description
Title The review title
Content The review content (WordPress editor)
Product The WooCommerce product the review is assigned to, picked with the WooCommerce product search
Rating A rating of 1-10 (in steps of 0.5); leave it empty for a review without a score
Verdict A short verdict (e.g. "Recommended", "Best in class")
Author The WordPress user shown as the review author

Product, Rating and Verdict sit in the Review Details box in the sidebar. The featured image, if set, shows above the review text, with its alt text or the review title.

Link the review to the product or to one of its variations. A review linked to a variation shows on the variable product's page.

Item Value
Post type expert_review
Visibility Not public: no front-end URL of its own, no archive; reviews appear only on product pages
Capabilities Standard post capabilities (capability_type post), so anyone who can edit posts can write reviews
Product meta _expert_review_product_id
Rating meta _expert_review_rating (saved between 0 and 10)
Verdict meta _expert_review_verdict

Expert reviews appear automatically on the product page in an "Expert Reviews" section under the product tabs (action woocommerce_after_single_product_summary, priority 15). Up to 10 published reviews are shown, newest first. Each review contains:

  • The title and author
  • A colored rating badge such as 8.5/10 (green >= 8, yellow >= 5, red < 5), only when a rating is set
  • The review content
  • The verdict (if set)
  • The publication date

There is no template file to override; the markup is printed by the module with inline styles. To restyle it use the CSS classes .polski-expert-reviews (section), .polski-expert-review (one review) and .polski-expert-review-content (review text).

The module does not print a separate JSON-LD block. It adds the reviews to the review property of the WooCommerce Product markup through the woocommerce_structured_data_product filter, after any reviews already there. Each review contains:

  • name (the review title)
  • author (Person, the author's display name)
  • datePublished
  • reviewBody (content without HTML)
  • reviewRating with bestRating 10 and worstRating 1, only when a rating is set

Example of one review in the product markup:

{
"@type": "Review",
"author": { "@type": "Person", "name": "Anna Kowalska" },
"datePublished": "2026-10-12T09:30:00+02:00",
"reviewBody": "Solid build, quiet motor, short cable.",
"name": "Blender X200 tested",
"reviewRating": {
"@type": "Rating",
"ratingValue": 8.5,
"bestRating": 10,
"worstRating": 1
}
}

The module has no filters or actions of its own. To change the review markup, hook into woocommerce_structured_data_product with a later priority than 10.