內容簡介
感謝安裝這個簡單的外掛程式!
如有需要,可在每個頁面和文章上使用不同的 JSON-LD 標記!
可使用任何有效的 JSON-LD 類型或類別!使用此外掛程式,您不會被限制在開發人員決定包含的表單字段上。
可使用任何模式類型!此外掛程式可讓您輕鬆地向頁面和文章添加高度自定義的 JSON-LD 模式標記。大部分來說,這不是一個完全填寫的外掛程式。您必須先自己創建幾乎所有的標記。請查看 Schema Docs 幫助您構建標記。
每個文章都有便利的“作者”和“網站”填寫表單字段。我可能會在未來添加更多。
為了確保更改頁面或文章的標記,請確定按下相應頁面或文章的常規 WordPress“更新”按鈕。
重要提示
這個外掛程式會自動添加相應的腳本標記到 header 頁面,因此請勿將它們作為結構化 JSON-LD 標記的一部分添加到元框中。
因此,當將單個項目添加到元框時,它可能類似於此:
{ “@context”: “http://schema.org”, “@type”: “Organization”, “url”: “http://yourorganization.com”, “name”: “Your Organization Name” }
當將多個項目添加到元框時,使用方括號將所有項目括起來,並用逗號隔開;類似這樣:
[ {“@context”: “http://schema.org”, “@type”: “Organization”, “name”: “Your Organization Name”, “url”: “http://your-organization.com” }, {“@context”: “http://schema.org”, “@type”: “Person”, “name”: “Your Name”, “url”: “http://your-personal-site.com” } ]
外掛標籤
開發者團隊
原文外掛簡介
Thanks for installing this simple plugin!
Use different JSON-LD markup on every page and post, if needed!
Use any valid JSON-LD type or class available! With this plugin, you aren’t limited to whatever form fields a developer decides to include.
Use any schema type you want! This plugin allows you to easily add highly customized JSON-LD schema markup to your pages and posts. For the most part, this is not a fill-in-the-blanks plugin. You must first create nearly all of the markup on your own. Check out the Schema Docs to help build your markup.
There are convenient ‘Author’ and ‘Website’ fill-in-the-blank form fields available for every post. I may add more in the future.
To ensure changes to your page or post markup, be sure to click the normal WordPress ‘Update’ button for the respective page or post.
IMPORTANT
The plugin automatically adds the appropriate script tags to the header page, so don’t add them as part of your structured JSON-LD markup inside of the meta boxes.
So, when adding a single item to a meta box, it might look similar to this:
{ “@context”: “http://schema.org”, “@type”: “Organization”, “url”: “http://yourorganization.com”, “name”: “Your Organization Name” }
When adding more than one item to a meta box, use brackets around all items and separate with commas; something similar to this:
[ {“@context”: “http://schema.org”, “@type”: “Organization”, “name”: “Your Organization Name”, “url”: “http://your-organization.com” }, {“@context”: “http://schema.org”, “@type”: “Person”, “name”: “Your Name”, “url”: “http://your-personal-site.com” } ]
