Easily Add Schema Markup to Your Gutenberg Blocks

In this Q&A, we explore how to integrate schema markup into WordPress Gutenberg blocks without losing your mind. We’ll cover both plugin-based tools and manual code snippets, including top picks like Spectra, Getwid and Otter Blocks to boost your SEO.

What’s the easiest way to add schema markup in WordPress Gutenberg blocks?

Adding schema markup to Gutenberg blocks can be achieved in a few ways, each with varying levels of complexity:

  • Using a Plugin: Several plugins are available that simplify the process of adding schema markup. These plugins often provide a user-friendly interface within the Gutenberg editor, allowing you to add schema to your blocks without needing to write code. Search the WordPress plugin directory for “schema markup” to find suitable options.
  • Manual Implementation: If you are comfortable with code, you can manually add schema.org markup to the HTML of your Gutenberg blocks. To do this, you'll need to:
    • Create a custom block or modify an existing one.
    • Add the appropriate schema.org attributes to the block's HTML output.

Which plugins

Here are some plugins that can help you add schema markup to Gutenberg blocks:

  • Spectra: This plugin has a large number of blocks that can be used to design websites and landing pages without any coding. It also offers SEO blocks—such as FAQ, How-To, Review, and Table of Contents—that are designed to improve your site's visibility and enhance the user experience.
  • Getwid: This plugin includes a collection of 40+ Gutenberg blocks that extends the library of core WordPress blocks. It also includes a Table of Contents block, which automatically creates a list of links to the headings on your page and wraps it in schema markup.
  • Gutenberg Blocks by PublishPress: This plugin includes a Table of Contents block that automatically generates a list of links to the headings on your page using the heading tags, and wraps it in schema markup. It also has blocks for FAQs and Google Maps, which can have schema markup added.
  • Otter Blocks: This plugin adds 26+ blocks to make page building in Gutenberg easier. It has blocks for FAQs and product reviews, which can have schema markup added.

Remember to check each plugin’s documentation or support forums for the most up-to-date information on their features and how to use them effectively.

Need human WordPress help?

WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!