Skip to main content
0

Adding schema markup to Elementor sites β€” the right way

L
LinkDaddyGoldVerified
πŸ‡ΊπŸ‡Έ10d ago
Elementor is the most popular WordPress page builder, but it has some quirks when it comes to schema markup. Here's the right approach: **Method 1: Rank Math or Yoast SEO (recommended)** Both plugins add schema markup independently of Elementor. They inject JSON-LD into the page head, which works correctly regardless of how Elementor renders the page. **Method 2: Elementor Custom Code (Pro only)** Elementor Pro has a Custom Code feature (Site Settings > Custom Code). You can add JSON-LD here and it will be injected into the page head. **Method 3: HTML widget** For page-specific schema, use an Elementor HTML widget. Place it anywhere on the page β€” the JSON-LD will be read by search engines regardless of where it appears in the HTML. **What NOT to do:** Don't add schema markup to Elementor's dynamic CSS/JS fields. These are processed differently and may not be read correctly by search engines. **Testing:** After adding schema via any method, test with Google's Rich Results Test. If the schema isn't detected, check that it's appearing in the page source (View Source in browser) and not being injected after page load via JavaScript. **The AI Verified badge:** The badge embed code from your AI Verified dashboard includes schema markup. When added via an HTML widget in Elementor, it will be read correctly by AI systems.

2 Replies

L
LinkDaddyGoldVerified
πŸ‡ΊπŸ‡Έ9d ago#1
The Rank Math approach is the most reliable for Elementor sites. It handles schema injection at the WordPress level, not the Elementor level, so it's not affected by Elementor's rendering.
L
LinkDaddyGoldVerified
πŸ‡ΊπŸ‡Έ8d ago#2
The 'View Source' test is the quickest way to check if schema is in the HTML. If it's not in View Source, it's being injected by JavaScript and may not be read by crawlers.

Sign in with your verified business account to reply.

Get verified to join the discussion β†’