WP Manifestindependent plugin directory
manifest / seo / make-json-ld

Make JSON LD

Easy Make JSON-LD using WordPress custome fields

by Hidetaka Okamoto · github.com/hideokamoto/make-json-ld · website

5stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/hideokamoto/make-json-ld/archive/refs/heads/master.zip

Make JSON-LD for WordPress With Custom Fields v1.5

このプラグインについて

このプラグインでは、WordPressのカスタムフィールドを用いてJSON-LDファイルを作成することができます。

インストール方法

ZIPファイルをDLし、WordPressのプラグインとしてインストールさせてください。
有効化することでJSON-LDファイルを出力するようになります。

JSON-LDのファイルパス

記事の絞り込み方法について

WP-APIに準拠した記事の絞込が行えます。

例:/?filter[パラメータ1]=値&filter[パラメータ2]=値

利用可能なパラメータ

パラメータの詳細はCodexを参照してください。

  • m
  • p
  • posts
  • w
  • cat
  • withcomments
  • withoutcomments
  • s
  • search
  • exact
  • sentence
  • calendar
  • page
  • paged
  • more
  • tb
  • pb
  • author
  • order
  • orderby
  • year
  • monthnum
  • day
  • hour
  • minute
  • second
  • name
  • category_name
  • tag
  • feed
  • author_name
  • static
  • pagename
  • page_id
  • error
  • comments_popup
  • attachment
  • attachment_id
  • subpost
  • subpost_id
  • preview
  • robots
  • taxonomy
  • term
  • cpage
  • post_type
  • posts_per_page

使用可能な語彙

デフォルトでは「Schema.org」のみ設定されています。

Yokohama Art Navi 場所LODなどを参考にしてください。

使用するには

カスタムフィールドのフィールド名を「語彙:タイプ」に設定してください。

例:schemaのnameを使う->フィールド名「schema:name」

ライセンス

GPLです。
LICENSE.mdをご覧ください。

UpdateLog

  • 1.5 WP_Queryのparamに対応