Title: Headless
Author: EdwardBock
Published: <strong>25 Tháng 5, 2022</strong>
Last modified: 28 Tháng 3, 2026

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Headless

 Bởi [EdwardBock](https://profiles.wordpress.org/edwardbock/)

[Tải về](https://downloads.wordpress.org/plugin/headless.3.0.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/headless/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/headless/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/headless/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/headless/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/headless/)

## Mô tả

Adds features to use WordPress as headless CMS

### Arbitrary section

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

## Cài đặt

 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

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Headless” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

“Headless” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/headless/contributors)
vì đóng góp của họ.

[Dịch “Headless” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/headless)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/headless/), check out [SVN repository](https://plugins.svn.wordpress.org/headless/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/headless/)
qua [RSS](https://plugins.trac.wordpress.org/log/headless/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

## Meta

 *  Phiên bản **3.0.2**
 *  Cập nhật lần cuối **2 tháng trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.7.5**
 *  Phiên bản PHP ** 8.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/headless/) và [Russian](https://ru.wordpress.org/plugins/headless/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/headless)
 * Thẻ
 * [block](https://vi.wordpress.org/plugins/tags/block/)[developer](https://vi.wordpress.org/plugins/tags/developer/)
   [gutenberg](https://vi.wordpress.org/plugins/tags/gutenberg/)[utils](https://vi.wordpress.org/plugins/tags/utils/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/headless/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/headless/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/headless/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://palasthotel.de/)