Support Log in
All Features: WordPress SEO Plugin with AI Tools

Schema Markup for WordPress — Auto JSON-LD Generation

Rank Forge outputs full schema.org JSON-LD markup for every post on your WordPress site — automatically, based on the post type and content. No JSON to write by hand.


What is schema markup and why does it matter

Schema.org is a shared vocabulary for describing web content to search engines. When Google crawls your page and sees schema.org/Article or schema.org/Product markup, it understands what kind of content it is beyond just reading the HTML. This unlocks rich results in the SERP — star ratings, recipe cards, FAQ accordions, breadcrumbs, product prices, local business info — and increasingly drives visibility in AI search engines like Google AI Overviews, ChatGPT, and Perplexity.

Complete schema.org markup tells search engines what a page contains, so the page can qualify for richer search results.


Supported schema types

Rank Forge outputs the following schema types:

Content types

  • Articlestandard blog posts
  • BlogPostingblog-specific article variant
  • HowTotutorials with step-by-step instructions. Rank Forge does not add it by itself; you choose HowTo as the schema type of a post in the Rank Forge box

Q&A types

  • FAQPage — FAQ content with questions and answers (auto-detected from H2 or H3 headings that end with a question mark)

Commerce types

  • Productwith price, SKU, availability, brand
  • Offerpricing details
  • AggregateRatingreview counts and ratings

Organization types

  • Organizationsite name, homepage URL and tagline
  • LocalBusinessphysical business with address, hours, coordinates (see Local SEO feature)
  • BreadcrumbListauto-generated site navigation breadcrumbs

Media types

  • VideoObject — YouTube/Vimeo/native video schema (Video SEO feature, see Video SEO)
  • ImageObject: the featured image of an Article

Review types

  • Review — individual reviews
  • AggregateRating — collection rating summaries

Auto-detection of schema type

Rank Forge detects the right schema type based on post type, content, and context:

WordPress post type Default schema
post Article (the type can be changed per post)
page WebPage
product (WooCommerce) Product + Offer
Custom post types WebPage (the type can be changed per post)

Beyond post type, Rank Forge reads the content to refine:

  • If FAQ-style H3 headings are detected → adds FAQPage
  • If video embeds are detected → adds VideoObject

You can override auto-detection for a post in the meta box or use the Visual Schema Builder to manually pick types and fields.


What Rank Forge reads from your content

Rank Forge does not parse the blocks of the block editor. Its automatic markup comes from the post type, the title, the text and the headings of the post.

FAQ

Rank Forge does not read FAQ, Accordion or Details blocks. The FAQPage markup is built from the H2 and H3 headings of a post or page that end with a question mark, with the text under each as the answer; at least two are needed. Each question becomes a Question entity with an acceptedAnswer.

HowTo

When you pick HowTo in the Schema Builder, you type the steps into its form. The Builder also shows how many steps Rank Forge finds in the post: in rankforge_step shortcodes or, when the post has none, in its H2 and H3 headings that do not read as questions.

Recipe

Recipe markup comes from the Recipe type of the Schema Builder, which you fill in with its form. Rank Forge has no code for WP Recipe Maker blocks.

Images

The featured image of a post, when it has one, goes into its Article markup as an ImageObject. Rank Forge writes no ImageObject markup for galleries.

Video

When you save a published post, Rank Forge looks in the content for a YouTube or Vimeo link or embed and for an HTML5 video tag with a source address, and writes VideoObject markup for the first one it finds, YouTube links ahead of Vimeo and of video tags (see Video SEO).

Code blocks

Rank Forge treats code blocks like any other text: it has no TechArticle type.


Validation and testing

Rank Forge does not check its markup against the schema.org specification before it writes it to the page. The Schema Builder lists the required fields you left empty (it only warns and never blocks saving), and the automatic FAQ skips a heading that has no answer text.

Test your pages with:

  • Google Rich Results Testvalidates schema Google actively uses for rich SERP features
  • Schema.org Validatorvalidates against the full schema.org spec
  • Google Search Console Enhancements reportshows which schema types Google has indexed

Output location

Schema.org JSON-LD is output via wp_head — inside the HTML head of the page. Search engines read it during normal crawling. No separate endpoint, no AMP-specific variant, no duplicate markup concerns.


Manual override

Every auto-generated schema can be overridden per post:

  • Change the type (e.g., Article → HowTo)
  • Add or remove fields

Use the Visual Schema Builder for a graphical editor: pick a type, fill in the fields and check the result in the JSON Preview. Rank Forge has no field for pasting raw JSON-LD, and the JSON Preview is read-only.


Ready to add schema markup to your WordPress site?

See pricing →

Schema JSON-LD output is included in every version of Rank Forge, including the free one. The Schema Builder is part of the free plugin too; only its AI type detection needs the Pro add-on.

Forge AI Assistant Online

Hi! I'm the Rank Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs