Title: Article JSON-LD
Author: Nashwan D
Published: <strong>2016 年 11 月 4 日</strong>
Last modified: 2020 年 10 月 22 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/article-json-ld.svg)

# Article JSON-LD

 由 [Nashwan D](https://profiles.wordpress.org/alex-ye/) 開發

[下載](https://downloads.wordpress.org/plugin/article-json-ld.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/article-json-ld/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/article-json-ld/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/article-json-ld/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/article-json-ld/#developers)

 [技術支援](https://wordpress.org/support/plugin/article-json-ld/)

## 外掛說明

Article JSON-LD is an extendable and straightforward solution to enhance your site
SEO by adding Schema.org microdata as a JSON-LD script on your site posts.

It will automatically insert the JSON-LD script in your site `<head>` tag by using
the standard information provided by WordPress, such as the title, description, 
featured image, publish date, author, categories..etc.

You can support your custom post types or modify the data easily by using the plugin’s
hooks.

#### Custom-Post-Types Support

By default, the plugin supports the `post` post-type. Add support for other custom-
post-types using a code snippet as the example below:

    ```
    add_action('init', 'add_article_json_ld_post_type_support', 15);

    /**
     * @return void
     */
    function add_article_json_ld_post_type_support()
    {
        add_post_type_support('custom-post-type', 'article-json-ld');
    }
    ```

You can use [Code Snippets](https://wordpress.org/plugins/code-snippets) plugin 
to add the code snippets to your site.

An active demo is available on [Arageek](https://www.arageek.com/) articles.

#### Plugin’s Hooks

 * `ArticleJsonLd\post_json_ld_data` A filter for a post JSON-LD data.
 * `ArticleJsonLd\post_author_json_ld_data` A filter for a post author JSON-LD data.
 * `ArticleJsonLd\post_publisher_json_ld_data` A filter for a post publisher JSON-
   LD data.

#### Contributing

Developers can contribute to the source code on the [Github Repository](https://github.com/nash-ye/wp-article-json-ld).

## 安裝方式

 1. Upload and install the plugin
 2. Use the plugin WP filters to customize the data.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Article JSON-LD〉的開發相關工作。

參與者

 *   [ Nashwan D ](https://profiles.wordpress.org/alex-ye/)

[將〈Article JSON-LD〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/article-json-ld)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/article-json-ld/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/article-json-ld/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/article-json-ld/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/article-json-ld/)。

## 變更記錄

#### 0.3

 * Add compatibility for latest version of WordPress SEO by Yoast.

#### 0.2.1

 * Add the ‘description’ property and use `get_the_excerpt()` to get the value.
 * Use the ISO 8601 format for ‘datePublished’ and ‘dateModified’ properties.
 * Use `get_the_title()` to get the `headline’ property value.
 * Some fixes and minor enhancements.

#### 0.2

 * The Initial version.

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **6 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.18**
 *  語言
 * [English (US)](https://wordpress.org/plugins/article-json-ld/)
 * 標籤:
 * [JSON-LD](https://tw.wordpress.org/plugins/tags/json-ld/)[microdata](https://tw.wordpress.org/plugins/tags/microdata/)
   [rich snippets](https://tw.wordpress.org/plugins/tags/rich-snippets/)[schema.org](https://tw.wordpress.org/plugins/tags/schema-org/)
   [seo](https://tw.wordpress.org/plugins/tags/seo/)
 *  [進階檢視](https://tw.wordpress.org/plugins/article-json-ld/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/article-json-ld/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/article-json-ld/reviews/)

## 參與者

 *   [ Nashwan D ](https://profiles.wordpress.org/alex-ye/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/article-json-ld/)