<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged markup</title>
<link>https://coderlegion.com/tag/markup</link>
<description>Powered by Question2Answer</description>
<item>
<title>Schema Markup Guide: JSON-LD for Rich Results</title>
<link>https://coderlegion.com/21107/schema-markup-guide-json-ld-for-rich-results</link>
<description>
&lt;p&gt;&amp;lt;!-- ========== SCHEMAS ========== --&amp;gt;

&amp;lt;!-- FAQPage schema (generated from translation data) --&amp;gt;


&amp;lt;!-- WebSite schema --&amp;gt;


&amp;lt;!-- LocalBusiness schema --&amp;gt;



?&amp;gt;

&amp;lt;!-- Organization schema --&amp;gt;


&amp;lt;!-- BreadcrumbList schema (headline from translation) --&amp;gt;


&amp;lt;!-- CommunicateAction schema --&amp;gt;


&amp;lt;!-- ========== ARTICLE CONTENT ========== --&amp;gt;
&lt;/p&gt;&lt;h1&gt;Schema Markup Guide: Using JSON-LD to Win Rich Results&lt;/h1&gt;
&lt;div class=&quot;post-meta&quot;&gt;
    &lt;span class=&quot;post-date&quot;&gt;February 2026&lt;/span&gt;
    &lt;span class=&quot;post-read&quot;&gt;16 min read&lt;/span&gt;
&lt;/div&gt;

&lt;p class=&quot;intro&quot;&gt;&lt;/p&gt;&lt;p&gt;I&amp;rsquo;m Jacob Campbell, and schema markup is one of the most underused SEO wins out there &amp;mdash; it&amp;rsquo;s how you turn a plain blue link into a rich result with stars, FAQs and prices. Structured data is just a small block of code that tells Google exactly what your page &lt;em&gt;is&lt;/em&gt;: a product, a local business, a recipe, an FAQ. Get it right and Google can show your page in a richer, more clickable format. This guide explains how it works, which types matter, and how to add them properly &amp;mdash; straight from Google&amp;rsquo;s documentation.&lt;/p&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;&lt;/h2&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;application/ld+json&quot;&amp;gt;
{
  &quot;@context&quot;: &quot;&lt;a href=&quot;https://schema.org&quot; rel=&quot;nofollow&quot;&gt;https://schema.org&lt;/a&gt;&quot;,
  &quot;@type&quot;: &quot;Organization&quot;,
  &quot;name&quot;: &quot;BuiltToWinWeb&quot;,
  &quot;url&quot;: &quot;&lt;a href=&quot;https://built2winweb.com&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com&lt;/a&gt;&quot;,
  &quot;logo&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/logo.webp&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/logo.webp&lt;/a&gt;&quot;,
  &quot;sameAs&quot;: [
    &quot;&lt;a href=&quot;https://www.linkedin.com/in/jacob-campbell-32a60a1a7/&quot; rel=&quot;nofollow&quot;&gt;https://www.linkedin.com/in/jacob-campbell-32a60a1a7/&lt;/a&gt;&quot;,
    &quot;&lt;a href=&quot;https://www.upwork.com/freelancers/~016276996a9883140f&quot; rel=&quot;nofollow&quot;&gt;https://www.upwork.com/freelancers/~016276996a9883140f&lt;/a&gt;&quot;
  ],
  &quot;contactPoint&quot;: {
    &quot;@type&quot;: &quot;ContactPoint&quot;,
    &quot;telephone&quot;: &quot;+15613017130&quot;,
    &quot;contactType&quot;: &quot;customer service&quot;,
    &quot;availableLanguage&quot;: &quot;English&quot;
  }
}
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@type&quot;: &quot;LocalBusiness&quot;,
  &quot;name&quot;: &quot;BuiltToWinWeb&quot;,
  &quot;address&quot;: {
    &quot;@type&quot;: &quot;PostalAddress&quot;,
    &quot;streetAddress&quot;: &quot;7322 Ashley Shores Circle&quot;,
    &quot;addressLocality&quot;: &quot;Lake Worth&quot;,
    &quot;addressRegion&quot;: &quot;FL&quot;,
    &quot;postalCode&quot;: &quot;33467&quot;,
    &quot;addressCountry&quot;: &quot;US&quot;
  },
  &quot;geo&quot;: {
    &quot;@type&quot;: &quot;GeoCoordinates&quot;,
    &quot;latitude&quot;: &quot;26.5986&quot;,
    &quot;longitude&quot;: &quot;-80.1784&quot;
  },
  &quot;telephone&quot;: &quot;+15613017130&quot;,
  &quot;openingHours&quot;: &quot;Mo-Fr 09:00-17:00&quot;,
  &quot;priceRange&quot;: &quot;$$&quot;,
  &quot;aggregateRating&quot;: {
    &quot;@type&quot;: &quot;AggregateRating&quot;,
    &quot;ratingValue&quot;: &quot;5.0&quot;,
    &quot;reviewCount&quot;: &quot;7&quot;
  }
}&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@type&quot;: &quot;FAQPage&quot;,
  &quot;mainEntity&quot;: [
    {
      &quot;@type&quot;: &quot;Question&quot;,
      &quot;name&quot;: &quot;How much does a custom PHP website cost?&quot;,
      &quot;acceptedAnswer&quot;: {
        &quot;@type&quot;: &quot;Answer&quot;,
        &quot;text&quot;: &quot;Flat&amp;#8209;fee packages: Business $1,750, Ecommerce $5,600, SaaS $10,000. One payment, no monthly fees.&quot;
      }
    },
    {
      &quot;@type&quot;: &quot;Question&quot;,
      &quot;name&quot;: &quot;Do you build ecommerce stores without Shopify?&quot;,
      &quot;acceptedAnswer&quot;: {
        &quot;@type&quot;: &quot;Answer&quot;,
        &quot;text&quot;: &quot;Yes &amp;ndash; custom PHP with Stripe checkout. No subscription fees, you own the code.&quot;
      }
    }
  ]
}&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@type&quot;: &quot;Product&quot;,
  &quot;name&quot;: &quot;Custom PHP Ecommerce Store&quot;,
  &quot;image&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/ecommerce.jpg&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/ecommerce.jpg&lt;/a&gt;&quot;,
  &quot;description&quot;: &quot;Full&amp;#8209;featured custom online store with Stripe checkout. One flat fee, no monthly costs.&quot;,
  &quot;sku&quot;: &quot;BTW-ECOMM&quot;,
  &quot;offers&quot;: {
    &quot;@type&quot;: &quot;Offer&quot;,
    &quot;price&quot;: &quot;5600&quot;,
    &quot;priceCurrency&quot;: &quot;USD&quot;,
    &quot;availability&quot;: &quot;&lt;a href=&quot;https://schema.org/InStock&quot; rel=&quot;nofollow&quot;&gt;https://schema.org/InStock&lt;/a&gt;&quot;,
    &quot;url&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/services/ecommerce&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/services/ecommerce&lt;/a&gt;&quot;
  },
  &quot;aggregateRating&quot;: {
    &quot;@type&quot;: &quot;AggregateRating&quot;,
    &quot;ratingValue&quot;: &quot;5.0&quot;,
    &quot;reviewCount&quot;: &quot;7&quot;
  }
}&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@type&quot;: &quot;BreadcrumbList&quot;,
  &quot;itemListElement&quot;: [
    { &quot;@type&quot;: &quot;ListItem&quot;, &quot;position&quot;: 1, &quot;name&quot;: &quot;Home&quot;, &quot;item&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/&lt;/a&gt;&quot; },
    { &quot;@type&quot;: &quot;ListItem&quot;, &quot;position&quot;: 2, &quot;name&quot;: &quot;Services&quot;, &quot;item&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/services/&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/services/&lt;/a&gt;&quot; },
    { &quot;@type&quot;: &quot;ListItem&quot;, &quot;position&quot;: 3, &quot;name&quot;: &quot;Custom PHP Website&quot;, &quot;item&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/services/custom-php-website/&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/services/custom-php-website/&lt;/a&gt;&quot; }
  ]
}&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@type&quot;: &quot;Article&quot;,
  &quot;headline&quot;: &quot;Schema Markup Mastery: JSON&amp;#8209;LD for Rich Results&quot;,
  &quot;description&quot;: &quot;Complete guide to implementing schema markup with copy&amp;#8209;paste JSON&amp;#8209;LD examples.&quot;,
  &quot;datePublished&quot;: &quot;2026-02-15&quot;,
  &quot;dateModified&quot;: &quot;2026-05-24&quot;,
  &quot;author&quot;: {
    &quot;@type&quot;: &quot;Person&quot;,
    &quot;name&quot;: &quot;Jacob Campbell&quot;
  },
  &quot;publisher&quot;: {
    &quot;@type&quot;: &quot;Organization&quot;,
    &quot;name&quot;: &quot;BuiltToWinWeb&quot;,
    &quot;logo&quot;: { &quot;@type&quot;: &quot;ImageObject&quot;, &quot;url&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/logo.webp&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/logo.webp&lt;/a&gt;&quot; }
  },
  &quot;image&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/schema-guide.jpg&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/schema-guide.jpg&lt;/a&gt;&quot;,
  &quot;mainEntityOfPage&quot;: &quot;&lt;a href=&quot;https://built2winweb.com/blog/schema-markup-guide&quot; rel=&quot;nofollow&quot;&gt;https://built2winweb.com/blog/schema-markup-guide&lt;/a&gt;&quot;
}&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@type&quot;: &quot;HowTo&quot;,
  &quot;name&quot;: &quot;How to Add Schema Markup to Your Website&quot;,
  &quot;step&quot;: [
    { &quot;@type&quot;: &quot;HowToStep&quot;, &quot;name&quot;: &quot;Choose your schema type&quot;, &quot;text&quot;: &quot;Select from LocalBusiness, FAQPage, Product, etc.&quot; },
    { &quot;@type&quot;: &quot;HowToStep&quot;, &quot;name&quot;: &quot;Generate JSON&amp;#8209;LD&quot;, &quot;text&quot;: &quot;Use a generator or write manually.&quot; },
    { &quot;@type&quot;: &quot;HowToStep&quot;, &quot;name&quot;: &quot;Add to your HTML head&quot;, &quot;text&quot;: &quot;Place the script tag in &amp;lt;head&amp;gt; or before &amp;lt;/body&amp;gt;.&quot; },
    { &quot;@type&quot;: &quot;HowToStep&quot;, &quot;name&quot;: &quot;Test with Rich Results Tool&quot;, &quot;text&quot;: &quot;Validate at search.google.com/test/rich-results.&quot; }
  ]
}&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;ol&gt;
    &lt;/ol&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;?php
function outputProductSchema($product) {
    $schema = [
        &quot;@context&quot; =&amp;gt; &quot;&lt;a href=&quot;https://schema.org&quot; rel=&quot;nofollow&quot;&gt;https://schema.org&lt;/a&gt;&quot;,
        &quot;@type&quot; =&amp;gt; &quot;Product&quot;,
        &quot;name&quot; =&amp;gt; $product['name'],
        &quot;description&quot; =&amp;gt; $product['description'],
        &quot;sku&quot; =&amp;gt; $product['sku'],
        &quot;offers&quot; =&amp;gt; [
            &quot;@type&quot; =&amp;gt; &quot;Offer&quot;,
            &quot;price&quot; =&amp;gt; number_format($product['price'], 2),
            &quot;priceCurrency&quot; =&amp;gt; &quot;USD&quot;,
            &quot;availability&quot; =&amp;gt; $product['in_stock'] ? &quot;&lt;a href=&quot;https://schema.org/InStock&quot; rel=&quot;nofollow&quot;&gt;https://schema.org/InStock&lt;/a&gt;&quot; : &quot;&lt;a href=&quot;https://schema.org/OutOfStock&quot; rel=&quot;nofollow&quot;&gt;https://schema.org/OutOfStock&lt;/a&gt;&quot;
        ]
    ];
    if (!empty($product['image_url'])) {
        $schema['image'] = $product['image_url'];
    }
    echo '&amp;lt;script type=&quot;application/ld+json&quot;&amp;gt;' . json_encode($schema, JSON_UNESCAPED_SLASHES) . '&amp;lt;/script&amp;gt;';
}
?&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;h2&gt;&lt;/h2&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;ul&gt;
    &lt;/ul&gt;

&lt;h3&gt;&lt;/h3&gt;
&lt;ul&gt;
    &lt;/ul&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{
  &quot;@context&quot;: &quot;&lt;a href=&quot;https://schema.org&quot; rel=&quot;nofollow&quot;&gt;https://schema.org&lt;/a&gt;&quot;,
  &quot;@graph&quot;: [
    { &quot;@type&quot;: &quot;Organization&quot;, &quot;name&quot;: &quot;...&quot; },
    { &quot;@type&quot;: &quot;LocalBusiness&quot;, ... },
    { &quot;@type&quot;: &quot;FAQPage&quot;, ... }
  ]
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

&lt;div class=&quot;article-cta&quot;&gt;
    &lt;a href=&quot;/contact&quot;&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;&lt;small&gt;&lt;em&gt;&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://coderlegion.com/21107/schema-markup-guide-json-ld-for-rich-results</guid>
<pubDate>Mon, 06 Jul 2026 07:45:45 +0000</pubDate>
</item>
</channel>
</rss>