Skip to content

WordPress Schema Generator: Add Star Ratings to Google Without Code

6 min read

WordPress Schema Generator: Add Star Ratings to Google Without Code

Star ratings next to a search result catch the eye and earn more clicks. The WP ULike Pro Schema Generator adds them for you: it turns the ratings your visitors already give into Schema.org structured data that Google can read, with no code and no extra SEO plugin.

Short answer: in WordPress, go to WP ULike → Tools → Schema Generator, find your product or page, turn on schema, pick a type such as Product or Software App, and save. The star rating comes from your visitors’ votes automatically.

WP ULike Pro Schema Generator with a product selected, schema type Product, and the star rating preview showing 4.8 out of 5 from 15 ratings
The Schema Generator: pick a post, choose a type, and check the rating before you save.

What the Schema Generator does

  • Finds any post, page or product by title, with a filter for items that already have schema.
  • Adds JSON-LD structured data for 15+ Schema.org types, showing only the fields that type needs, like price for a Product or dates for an Event.
  • Builds an aggregate star rating from your visitors’ votes, with a live preview of the value Google will read.
  • Opens Google’s Rich Results Test for the page in one click.
  • Keeps everything in one place under Tools, so writers don’t see SEO fields while they write.

Which content can show stars in Google

Google doesn’t show stars on every page. Review stars are limited to certain kinds of content, and the rating has to be visible on the page and come from real users:

Shows stars in GoogleDoes not
Products, software and apps (including WordPress plugins and themes)Regular blog posts and news articles
Books, courses, movies, games, recipes and eventsCategory pages or lists of many items
Local businesses reviewed by their customers on another siteA business’s own reviews of itself on its own website

So the Schema Generator is most useful for product pages, software and plugin pages, course pages, recipe sites and review sites. Don’t add a rating to content Google won’t show it for, and never mark up ratings that visitors can’t see on the page.

Where the star rating comes from

New in WP ULike Pro 2.3: when the Star Rating template is turned on, the Schema Generator uses the real 1–5 star votes from your visitors. That’s the best match for Google’s rules: the stars are shown on the page, and every rating comes from a real person.

A WooCommerce product with a visible 5-star rating under the price showing 4.8 from 15 ratings
Visitors rate the product on the page, and the same 4.8 average goes into the structured data.

Other rating sources are available for sites that use likes instead:

  • From likes and dislikes: each like counts as 5 stars and each dislike as 1. Works best when dislike voting is on.
  • Time-weighted: recent likes count more, for sites without a dislike button.
  • Manual: set the rating and count yourself, for example to match reviews collected elsewhere on the page.
  • Off: output the schema type and fields without any rating.

Emoji reactions are never turned into ratings, since a “wow” or “funny” isn’t a score.

Set it up in about two minutes

  1. Go to WP ULike → Tools → Schema Generator.
  2. Choose a post type, search by title, and click the item. Untick Only show items with schema or FAQ data if you’re setting up your first one.
  3. Tick Output schema markup for this post and choose a Schema Type, for example Product or Software App.
  4. Fill in the fields that appear. For a product, add the price and currency; Google expects a price whenever an offer is listed.
  5. Check the star rating preview, then click Save.
  6. Click Test Rich Results to confirm Google can read it.

What Google receives

Here’s the JSON-LD the Schema Generator printed for the product above. You never have to write it yourself:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "The Saltwater Cookbook",
  "aggregateRating": {
    "@type": "AggregateRating",
    "worstRating": 1,
    "bestRating": 5,
    "ratingValue": 4.8,
    "ratingCount": 15
  },
  "url": "https://yoursite.com/product/the-saltwater-cookbook/",
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "url": "https://yoursite.com/product/the-saltwater-cookbook/"
  }
}

Test it, then give Google time

After saving, run the page through Google’s Rich Results Test and fix anything marked as an error. Then use URL Inspection → Request indexing in Search Console. Stars can take days or weeks to appear, and Google decides whether to show them, so valid markup makes a page eligible but never guarantees stars.

What about FAQ schema?

The Schema Generator can still add FAQ structured data. Be aware that Google stopped showing FAQ rich results in search on May 7, 2026, so FAQ markup no longer creates dropdowns under your result. It can still help search engines and AI assistants understand a page that genuinely has questions and answers. Only use it when the FAQ is visible on the page.

Supported schema types

Product, Software App, Book, Course, Event, Local Business, Movie, Game, Music Playlist, Organization, How-to, Media Object, and CreativeWork Season, Series and Episode. Each type shows its own fields, such as SKU and availability for products or opening hours for a local business.

New to structured data? Read what schema markup does for SEO in 2026 first. For every field, see the Schema Generator documentation.

Frequently asked questions

What is a WordPress schema generator?

It’s a tool that adds Schema.org structured data to your WordPress pages without code, so search engines understand the content and can show rich results such as star ratings. WP ULike Pro’s Schema Generator also builds the rating from your visitors’ real votes.

Will my blog posts get stars in Google?

Usually not. Google shows review stars for products, software, books, courses, recipes, events and similar items, not for regular blog posts or news articles.

Where does the star rating come from?

From your visitors. With the Star Rating template on, it uses the real 1–5 star votes. Otherwise it can estimate from likes and dislikes, use time-weighted likes, or use values you set manually.

Does schema guarantee star ratings in search?

No. Valid markup makes a page eligible, but Google decides whether to show rich results, and it can take days or weeks after the page is crawled.

Do FAQ rich results still work?

No. Google stopped showing FAQ rich results on May 7, 2026. FAQ markup is still allowed for real FAQ content and can help machines understand the page, but it no longer adds dropdowns to search results.

Do I need another schema plugin?

No. If you use WP ULike Pro, the Schema Generator handles ratings, schema types and FAQ markup. Your SEO plugin can keep handling site-wide schema like Article and Organization.

Where is the Schema Generator in WordPress?

Go to WP ULike → Tools → Schema Generator. It needs an active WP ULike Pro license.

Enjoyed this article?

Get more WordPress tips like this in our monthly newsletter: updates, guides, and product news.

Leave a Reply

Your email address will not be published. Required fields are marked *