Title: Headless
Author: EdwardBock
Published: <strong>2022 年 5 月 25 日</strong>
Last modified: 2026 年 7 月 2 日

---

搜尋外掛

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

![](https://ps.w.org/headless/assets/icon-256x256.png?rev=2745133)

# Headless

 由 [EdwardBock](https://profiles.wordpress.org/edwardbock/) 開發

[下載](https://downloads.wordpress.org/plugin/headless.3.0.3.zip)

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

 [技術支援](https://wordpress.org/support/plugin/headless/)

## 外掛說明

Adds features to use WordPress as headless CMS

### Arbitrary section

 * BREAKING CHANGE 1.7.0: core/block for block references has changed

## 安裝方式

 1. Upload `headless.zip` to the `/wp-content/plugins/` directory
 2. Extract the Plugin to a `headless` Folder
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ EdwardBock ](https://profiles.wordpress.org/edwardbock/)
 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)

〈Headless〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/headless/contributors)
為這個外掛做出的貢獻。

[將〈Headless〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/headless)

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

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

## 變更記錄

#### 3.0.3

 * **deps-dev:** bump @wordpress/env from 11.2.0 to 11.3.0 in /wp-plugin (243def9)
 * **deps-dev:** bump @wordpress/env from 11.2.0 to 11.3.0 in /wp-plugin (de337f6)
 * **deps-dev:** bump @wordpress/env from 11.3.0 to 11.4.0 in /wp-plugin (63aa847)
 * **deps-dev:** bump @wordpress/env from 11.3.0 to 11.4.0 in /wp-plugin (f01c5f8)
 * **deps-dev:** bump @wordpress/env from 11.4.0 to 11.5.0 in /wp-plugin (d3fddfa)
 * **deps-dev:** bump @wordpress/env from 11.4.0 to 11.5.0 in /wp-plugin (693f321)
 * **deps-dev:** bump @wordpress/env from 11.5.0 to 11.8.0 in /wp-plugin (4102ac9)
 * **deps-dev:** bump @wordpress/env from 11.5.0 to 11.8.0 in /wp-plugin (1407ad2)
 * **deps-dev:** bump @wordpress/env from 11.8.1 to 11.9.0 in /wp-plugin (#146) (
   ec28011)
 * **deps-dev:** bump @wordpress/icons from 12.2.0 to 14.0.1 in /wp-plugin (#132)(
   01c60e5)
 * **deps-dev:** bump @wordpress/scripts from 31.7.0 to 31.8.0 in /wp-plugin (ac25403)
 * **deps-dev:** bump @wordpress/scripts from 31.8.0 to 32.0.0 in /wp-plugin (8d02de2)
 * **deps-dev:** bump @wordpress/scripts in /wp-plugin (0034b96)
 * **deps-dev:** bump @wordpress/scripts in /wp-plugin (85a8ec4)
 * **deps:** bump @wordpress/components from 32.4.0 to 32.5.0 in /wp-plugin (03806b2)
 * **deps:** bump @wordpress/components in /wp-plugin (4c753f2)
 * **deps:** bump @wordpress/data from 10.42.0 to 10.43.0 in /wp-plugin (d5cbd41)
 * **deps:** bump @wordpress/data from 10.42.0 to 10.43.0 in /wp-plugin (f46823e)
 * **deps:** bump @wordpress/data from 10.43.0 to 10.44.0 in /wp-plugin (445c834)
 * **deps:** bump @wordpress/data from 10.43.0 to 10.44.0 in /wp-plugin (afb7433)
 * **deps:** bump @wordpress/edit-post from 8.42.0 to 8.44.0 in /wp-plugin (10a3aff)
 * **deps:** bump @wordpress/edit-post from 8.42.0 to 8.44.0 in /wp-plugin (f122b06)
 * **deps:** bump @wordpress/element from 6.42.0 to 6.43.0 in /wp-plugin (1c1015d)
 * **deps:** bump @wordpress/element from 6.42.0 to 6.43.0 in /wp-plugin (7a65e87)
 * **deps:** bump @wordpress/element from 6.46.0 to 7.0.0 in /wp-plugin (14c9a8f)
 * **deps:** bump @wordpress/element from 6.46.0 to 7.0.0 in /wp-plugin (374e589)
 * **deps:** bump @wordpress/i18n from 6.17.0 to 6.18.0 in /wp-plugin (6316c6f)
 * **deps:** bump @wordpress/i18n from 6.17.0 to 6.18.0 in /wp-plugin (1a785ad)
 * **deps:** bump @wordpress/icons from 10.32.0 to 12.0.0 in /wp-plugin (5b3c813)
 * **deps:** bump @wordpress/icons from 10.32.0 to 12.0.0 in /wp-plugin (35efa8c)
 * **deps:** bump @wordpress/icons from 12.0.0 to 12.1.0 in /wp-plugin (802cb80)
 * **deps:** bump @wordpress/icons from 12.0.0 to 12.1.0 in /wp-plugin (8590637)
 * **deps:** bump @wordpress/plugins from 7.42.0 to 7.43.0 in /wp-plugin (4799e3f)
 * **deps:** bump @wordpress/plugins from 7.42.0 to 7.43.0 in /wp-plugin (f02b5b7)
 * **deps:** bump @wordpress/plugins from 7.43.0 to 7.44.0 in /wp-plugin (1629fa2)
 * **deps:** bump @wordpress/plugins from 7.43.0 to 7.44.0 in /wp-plugin (d66dca1)
 * **deps:** bump @wordpress/plugins from 7.44.0 to 7.46.0 in /wp-plugin (644e3b9)
 * **deps:** bump @wordpress/plugins from 7.44.0 to 7.46.0 in /wp-plugin (a63f129)

#### 3.0.3

 * **deps-dev:** updates

#### 3.0.2

 * **core-image:** use alt text from block if set (b799413)
 * **core-image:** use block alt if set (e2d0e6c)
 * **core-image:** use image alt text from block props if set in block (0ed3974)

#### 3.0.1

 * **core-image:** use alt text from block if set (b799413)
 * **core-image:** use block alt if set (e2d0e6c)
 * **core-image:** use image alt text from block props if set in block (0ed3974)

#### 2.3.1

 * Fix: Preview links

#### 2.3.0

 * Feature: Revalidate feature can be deactivated via hook
 * Feature: Preview feature can be deactivated via hook
 * Fix Menu Schema
 * Update: NPM Packages

#### 2.2.4

 * Feature: Add filter “headless_rest_response_data”
 * Fix: Gutenberg preview in new tab link

#### 2.2.3

 * Bugfix: fatal error without hl_post_type in rest api

#### 2.2.2

 * Feature: revalidate comments on schedule
 * Bugfix: hl_post_type filter with any now working

#### 2.2.0

 * Feature: Revalidate pending posts via dashboard button
 * Fix: date format on dashboard

#### 2.1.2

 * parallel to npm package update

#### 2.1.0

 * Feature: smaller response sizes with headless_variant=teaser

#### 2.0.0

 * BREAKING CHANGES
 * Moves from @palasthotel/wp-fetch to @palasthotel/wp-rest

#### 1.9.3

 * Bugfix: post preview with wordpress 6.4.x fixed

#### 1.9.2

 * Bugfix: Allow revalidation timestamp to be null

#### 1.9.1

 * Bugfix: Undefined property innerHTML in ImageBockPreparation.php

#### 1.9.0

 * Feature: Add headless_revalidate_permalink_path filter
 * Optimization: Add revalidation state “error”
 * Optimization: Add cli log messages
 * Optimization: Add cron logger support for messages

#### 1.8.0

 * Feature: Dashboard widget
 * Refactor: revalidation hooks and process
 * Optimization: Gutenberg panel
 * Optimization: migration to new revalidation database schema

#### 1.7.5

 * Optimization: Preview links are only changed for headless post types

#### 1.7.4

 * Bugfix: view preview notice fix

#### 1.7.3

 * Bugfix: save post in draft state before open preview tab

#### 1.7.2

 * Added: Filter ‘headless_is_headless_post_type’
 * Fixed some issues with previews

#### 1.7.1

 * Use taxonomy name for headless posts as fallback for rest_base

#### 1.7.0

 * BREAKING CHANGE: core/block for block references has changed
 * Optimization: changed preview url magic to redirect
 * Removed: filter headless_post_link because it is not healthy
 * Removed: filter headless_preview_redirect because it is not in use

#### 1.6.2

 * Add headless_rest_api_prepare_post filter for uniform post responses

#### 1.6.1

 * Optimization: revalidation uses url array
 * Bugfix: Remove domain from page rest api response

#### 1.6.0

 * Feature: Tag Cloud Block extension
 * Feature: User extensions
 * Feature: Term extensions
 * Optimization: stale-while-revalidate cache-control header for headless requests
   to the rest api
 * Optimization: api key restriction

#### 1.5.5

 * Headless settings as rest api

#### 1.5.3

 * Featured media sizes to rest api

#### 1.5.1

 * Optimization: add image sizes

#### 1.5.0

 * Feature: Comment extensions with display_name and nickname
 * Feature: Revalidation via gutenberg button
 * Feature: Revalidation system via schedules

#### 1.4.2

 * add embed block preparations
 * update wp fetch lib

#### 1.4.1

 * renamed attribute for reference block because of react attribute name problems

#### 1.4.0

 * add reference block preparation for content resolution
 * add paragraph block preparation for smaller response size

#### 1.3.0

 * add featured media attributes to posts
 * extend core/image and core/gallery

#### 1.2.1

 * Allow blockName null for freeform blocks

#### 1.2.0

 * Post Meta Query for rest requests

#### 1.1.1

 * Preview feature

#### 1.0.0

 * First release

## 中繼資料

 *  版本 **3.0.3**
 *  最後更新 **3 天前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/headless/) 及 [Russian](https://ru.wordpress.org/plugins/headless/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/headless)
 * 標籤:
 * [block](https://tw.wordpress.org/plugins/tags/block/)[developer](https://tw.wordpress.org/plugins/tags/developer/)
   [gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)[utils](https://tw.wordpress.org/plugins/tags/utils/)
 *  [進階檢視](https://tw.wordpress.org/plugins/headless/advanced/)

## 評分

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

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

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

## 參與者

 *   [ EdwardBock ](https://profiles.wordpress.org/edwardbock/)
 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://palasthotel.de/)