Skip to content

Add "Disabled" option to JSON-LD entity type#604

Merged
duncanmcclean merged 1 commit into
7.xfrom
json-ld-disabled-entity-option
Jun 12, 2026
Merged

Add "Disabled" option to JSON-LD entity type#604
duncanmcclean merged 1 commit into
7.xfrom
json-ld-disabled-entity-option

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Jun 12, 2026

Copy link
Copy Markdown
Member

This pull request adds a "Disabled" option to the JSON-LD entity type selector in Site Defaults.

Previously, the entity type only offered "Organization" or "Person" options. Developers wanting full control over their JSON-LD schema had to leave the organization name blank to prevent the built-in schema from rendering — but this was fragile, as editors could fill it in later, causing duplicate schemas.

This PR adds a third "Disabled" option that explicitly opts out of the built-in entity schema while still allowing the Custom Schema textarea to be used for complete control over the JSON-LD markup.

CleanShot 2026-06-12 at 11 33 22

We may look to add a more complicated "schema builder" in the future, but for now, we want to keep things simple + flexible so this is the easiest solution.

Closes #593

Allows users to disable the built-in Organization/Person schema generation
while still using the Custom Schema textarea for full control over their
JSON-LD markup.

Fixes #593

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@duncanmcclean duncanmcclean merged commit 9d2ebc8 into 7.x Jun 12, 2026
14 checks passed
@duncanmcclean duncanmcclean deleted the json-ld-disabled-entity-option branch June 12, 2026 10:35
@jonathan-bird

Copy link
Copy Markdown

Thanks @duncanmcclean, I noticed this bug yesterday. It's like you can read my thoughts. Much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Organization schema: Allow addition of properties or add option to provide custom schema.

2 participants