Developers

Custom Structured Data for Post Elements

Custom Structured Data for Post Elements

Structured data is a set of "clues" provided to Google's crawler about what defines your content. Using schema, or a vocabulary you share with Google about every page on your site, you can tell Googlebot the story of your content in human language. Click here to learn more.

Sometimes structured data for each post on your site is required. For example, if you're selling desserts, you may need different structured data for each kind of dessert, like cupcakes, and then additional structured data for each kind of cupcake, too, like chocolate and vanilla.


This is possible on RebelMouse through a new orderable element on Post elements in Layout & Design Tool. When it's enabled, you can use a filter that triggers all of your posts' inner data, ({{post}} object) , just like on a Post page.

It's recommended that you add this using the code view on a Post element . This will let you customize what structured data a specific Post element outputs.

This is what it looks like in Layout & Design Tool:

Here's how to reproduce it:

  1. Add ld_json to the <posts> attribute all_element_order .
  2. Add the element position, any except hidden. This is the needed attribute: layout_ld_json="right" .
  3. Open the <posts> tag that looks like <posts …settings...> ... </posts> and add a filter inside. The end result should resemble the following structure:
<posts …settings...>
  <filters> 
        <add_text as="ld_json"> 
            <![CDATA[
            // Now here you can use {{post}} to build needed structured data
           ]]>
       </add_text> 
  </filters>
</posts>

If you have any questions about this feature, email support@rebelmouse.com or contact your account manager today. Click here to learn more about RebelMouse's structured data integration.

What Is RebelMouse?
Request a Proposal

Where
Websites Are Built

The Fastest Sites in the World Run on RebelMouse

Let’s Chat

new!

RebelMouse Performance Monitoring

Real-Time Core Web Vitals

Get Started
DISCOVER MORE

Our Core Features

Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:

Why RebelMouse?

Unprecedented Scale

RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.

120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User

Today's Top Websites Use RebelMouse

Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.

What Clients Say

We’re here to help you weigh and understand every tech and strategic decision that affects your digital presence. Spend less time managing everything yourself, and more time focused on creating the quality content your users deserve.

Case Studies

A Team Built Like No Other

RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.

Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.

Let's Chat