BACK TO DIRECTORY

NGY Simple Structured Data Box

by NGY.

0.0
(0 ratings)

NGY Simple Structured Data Box adds one focused JSON-LD input box to enabled WordPress editing screens.

  • Enable the box for posts, pages, and selected public custom post types.
  • Restrict editing and saving JSON-LD to administrators.
  • Format and validate JSON in the editor.
  • Keep invalid input available for correction without preventing a post from saving.
  • Output only valid JSON-LD, safely re-encoded in the document head.
  • Remove one pasted outer script type="application/ld+json" wrapper automatically.
  • Copy a prompt for ChatGPT or Gemini without connecting to an API or sending content automatically.
  • Copy prompts only for published content, so AI services receive a public URL rather than draft or private content.
  • Open Schema.org Validator and Google Rich Results Test in a new tab. Published posts send only their public URL; drafts and private content do not send a preview URL.

This plugin does not generate schemas, connect to an AI API, expose its meta data through the REST API, or add frontend JavaScript.

日本語 (Japanese)

概要

NGY Simple Structured Data Box は、投稿・固定ページ・公開カスタム投稿タイプごとにJSON-LDを手入力し、安全に出力するためのシンプルなプラグインです。

  • 設定画面でJSON-LD入力欄を表示する投稿タイプを選択できます。
  • JSON-LDの編集・保存は管理者だけに制限されます。
  • エディター上でJSONを整形・構文検証できます。
  • 不正なJSONでも投稿の保存を妨げず、修正用に入力内容を保持します。
  • 有効なJSON-LDだけを安全に再エンコードしてhead内へ出力します。
  • 貼り付けたJSON-LD用scriptタグの外側ラッパーを1つだけ取り除きます。
  • API連携なしでChatGPTまたはGemini向けのプロンプトをコピーできます。
  • プロンプトのコピーは公開済みコンテンツに限られ、下書き・非公開コンテンツの情報を外部サービスへ渡しません。
  • 公開済みコンテンツは公開URL付きでSchema.org ValidatorとGoogle Rich Results Testを開きます。下書き・非公開コンテンツのプレビューURLは送信しません。

インストール

  1. ngy-simple-structured-data-box フォルダを /wp-content/plugins/ にアップロードするか、プラグイン画面からZIPをインストールします。
  2. NGY Simple Structured Data Box を有効化します。
  3. 「設定 > NGY Simple Structured Data Box」で入力欄を表示する投稿タイプを選択します。
  4. 対象の投稿編集画面でJSON-LDを入力します。

よくある質問

不正なJSONを保存するとどうなりますか?

投稿自体は保存され、JSON-LDの入力内容も修正用に残ります。ただし公開ページには出力されません。

ChatGPTなどの外部サービスにデータが送信されますか?

いいえ。プロンプトのコピーとChatGPTまたはGeminiを開く操作は明示的なクリック時だけです。公開済みコンテンツの公開URLだけを、プロンプトおよび外部バリデーターに使用します。

変更履歴

0.1.0
* 初回リリース。

Plugin Details

Active Installs
0
Total Downloads
114
Version
0.1.0
Requires WP
7.0
Requires PHP
8.0
Tested Up To
7.1.4
Added
2026-11-01
Last Updated
2026-11-01 7:43am GMT

Ratings

5
0
4
0
3
0
2
0
1
0