惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
月光博客
月光博客
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
IT之家
IT之家
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
博客园 - 司徒正美
爱范儿
爱范儿

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why I Built a Lightweight WordPress Plugin to Manually Co...
Jahid Shah · 2026-05-19 · via DEV Community
Cover image for Why I Built a Lightweight WordPress Plugin to Manually Control JSON-LD Schema?

Jahid Shah

Structured data (JSON-LD) is one of the most important parts of modern SEO. It helps search engines understand content context and enables rich results like FAQs, articles, and product snippets.

However, working with WordPress at scale exposes a consistent problem:

The problem with automated schema generation

Most SEO plugins like Yoast or Rank Math automatically generate schema in the background. While this is useful for beginners, it introduces serious limitations in advanced setups:

  • Duplicate schema across plugins
  • Conflicting JSON-LD structures
  • Limited control over schema output
  • Difficulty combining multiple schema types on a single page
  • Lack of visibility into what is actually being injected

In complex WordPress environments, these issues often result in invalid or ignored structured data—even when everything appears “correct” in the UI.

What I needed instead

I wanted a workflow that gives full control over structured data without relying on hidden automation layers.

Specifically:

  • Manually define JSON-LD schema per post or page
  • Combine multiple schema types cleanly
  • Validate basic structural and duplicate issues instantly
  • Avoid conflicts with existing SEO plugins
  • Keep the system lightweight and predictable

The solution: BBH Custom Schema

To solve this, I built a lightweight WordPress plugin called BBH Custom Schema.

It is designed for developers and technical SEO workflows where control matters more than automation.

Key capabilities:

  • Manual JSON-LD schema injection on posts, pages, and custom post types
  • Schema combining system for multiple structured data blocks
  • Basic validation to detect formatting issues and duplicate entries
  • Conflict-safe implementation alongside SEO plugins like Yoast SEO and Rank Math
  • Lightweight architecture with no unnecessary frontend overhead

Design philosophy

This plugin is not trying to “automate SEO”.

Instead, the goal is:

Give developers full visibility and control over structured data output.

That means:

  • No hidden schema injection
  • No silent overrides
  • No opinionated automation logic

Just explicit, controlled, structured data management.

When this approach makes sense

This workflow is useful when:

  • You are managing multiple schema types per page
  • You need strict control over structured data output
  • You are debugging rich result issues
  • You are working in SEO-heavy or enterprise WordPress environments

What I learned building it

The biggest insight was simple:

Schema problems in WordPress are rarely about missing data—they are about conflicting data.

Most “invalid schema” issues in Google tools are actually caused by:

  • duplication
  • overlapping plugins
  • inconsistent injection order

Not the schema itself.

Plugin link

BBH Custom Schema
https://wordpress.org/plugins/bbh-custom-schema/

Final note

This project started as a small internal tool to solve schema conflicts in real projects. It evolved into a reusable plugin for anyone who needs precise control over structured data in WordPress.