Title: BlockX
Author: EdwardBock
Published: <strong>29 Tháng 10, 2020</strong>
Last modified: 1 Tháng 7, 2024

---

Tìm kiếm plugin

![](https://ps.w.org/blockx/assets/banner-772x250.png?rev=3124448)

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/blockx/assets/icon-256x256.png?rev=3123798)

# BlockX

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

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

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

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

## Mô tả

Elevate your Gutenberg Block development experience with BlockX. This powerful plugin
bridges the gap between the modern
 Gutenberg JavaScript API and the traditional
PHP methods WordPress developers know and love. With BlockX, you can effortlessly
create custom Gutenberg blocks entirely using PHP, bypassing the need for complex
JavaScript coding.

**Features:**
 – **Seamless Integration:** Simplifies the process of building custom
Gutenberg blocks using PHP. – **Developer-Friendly:** Leverages familiar PHP syntax
and functions to create and manage blocks. – **Time-Saving:** Reduces the learning
curve and development time by avoiding intricate JavaScript coding. – **Customizable:**
Provides a robust API to create highly customizable blocks tailored to your needs.–**
Efficient Workflow:** Streamlines the block creation process, allowing you to focus
on functionality and design. – **Comprehensive Documentation:** Includes detailed
guides and examples to help you get started quickly. – **Compatibility:** Fully 
compatible with the latest WordPress versions and Gutenberg updates.

**Why Choose PHP Block Builder for Gutenberg?**
 – **Enhanced Productivity:** Build
and deploy custom blocks faster using familiar PHP code. – **Reduced Complexity:**
No need to delve into JavaScript intricacies; keep your development workflow simple.–**
Versatile:** Perfect for developers looking to extend Gutenberg without abandoning
their PHP expertise.

### Arbitrary section

## Cài đặt

 1. Upload `blockx.zip` to the `/wp-content/plugins/` directory
 2. Extract the Plugin to a `blockx` Folder
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Use core block-X
 5. Create new block-x in your custom theme or plugin code

## Hỏi đáp

### How can I add my own blockX?

You can find all you need to know in the docs: [https://github.com/palasthotel/blockX/blob/master/README.md](https://github.com/palasthotel/blockX#create-new-block-class)

## Đánh giá

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

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

“BlockX” 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/)

“BlockX” đã đượ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/blockx/contributors)
vì đóng góp của họ.

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

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

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

## Nhật ký thay đổi

#### 1.10.3

 * Security Bugfix with Breaking change for Authors block

#### 1.10.2

 * Bugfix: Add missing import in Headless.php

#### 1.10.1

 * Bugfix: Regeneration of block.json in some cases incorrectly disabled

#### 1.10.0

 * Feature: Added AutoComplete widget
 * Bugfix: Provide default content values in headless response

#### 1.9.3

 * Bugfix: UrlSuggestion provider didn’t display label properly
 * Optimize: Added list widget controls and list position indicator

#### 1.9.2

 * Bugfix: Wrong access permission – caused an error on installation

#### 1.9.1

 * Optimization: Allow some html tags in info widget
 * Refactor: PHP 8.2 fix; remove dynamic properties

#### 1.9.0

 * Feature: ListOf widget can be restricted to min, max and exact number of items

#### 1.8.10

 * Fix: Rest error on autosave 404 if no changes were made.

#### 1.8.9

 * Optimization: force min value in number control widget

#### 1.8.8

 * Fix: problem with autosuggest widget

#### 1.8.6

 * Fix: add missing registerBlockTypeArgs values to block.json files

#### 1.8.5

 * Fix: Support for custom class and anchor block fields

#### 1.8.4

 * Bugfix: Container style generator fix

#### 1.8.3

 * Optimization: Media widget can preview svg now

#### 1.8.2

 * Dependency updates

#### 1.8.1

 * Optimization: Use frontend template in editor if there is no *__editor template
   file

#### 1.8.0

 * BREAKING CHANGE: moved prepare post to headless plugin. Please update to headless
   > 1.6.2

#### 1.7.1

 * Bugfix: write permission denied for generator fix

#### 1.7.0

 * Headless plugin integrations
 * Bugfix: Do not escape slashes in block.json

#### 1.6.2

 * Fix: empty render blocks problem

#### 1.6.1

 * Fix: Scripts bugfix

#### 1.6.0

 * Feature: Composed blocks
 * Feature: you can now use @palasthotel/blockx npm package for a better developer
   experience

#### 1.5.2

 * Bugfix: Media widget object cache fix

#### 1.5.1

 * Bugfix: Missing content state on first load fix

#### 1.5.0

 * BREAKING CHANGE: renamed Readonly class to Read_Only
 * Feature: You can add custom widgets now

#### 1.4.0

 * Optimization: All BlockX blocks are using block.json api

#### 1.3.3

 * Feature: Minimum and maximum restriction for number widget
 * UI: Panel and Media widget UI optimization

#### 1.3.2

 * Feature: Help text for ReadonlyWidget

#### 1.3.1

 * Feature: Maximal characters restriction for TextWidget and TextareaWidget

#### 1.3.0

 * Beta Feature: Container blocks

#### 1.2.2

 * Feature: Size restriction options for media widget
 * Optimization: preview mode class for desktop, tablet and mobile preview added
   to block preview
 * Optimization: media button has a delete selection button now

#### 1.2.1

 * Security fix: rest route permission callback fix
 * New Widget: Info

#### 1.2.0

 * New Widget: User
 * New Widget: AutoSuggest
 * New Widget: Url
 * New Widget: Abstract Ajax

#### 1.1.4

 * Optimization: Provide helper function to build wp query args from TaxQuery widget
   args.

#### 1.1.3

 * Optimization: always set block attributes, so we can use random defaults that
   are saved
 * Bugfix: property type declaration with php < 7.4 fix

#### 1.1.2

 * Bugfix: Embedded posts in groups were handled as relations

#### 1.1.1

 * Bugfix: Template did not find default templates

#### 1.1.0

 * Feature: You may remove blockx blocks in collect action now

#### 1.0.12

 * Bugfix: Again fixed performance issues with tax query widget and several thousand
   terms

#### 1.0.11

 * Bugfix: fixed performance issues with tax query widget and several thousand terms
 * Bugfix: deep clone list widget changes to avoid reference problems when duplicating
   a block
 * Bugfix: ignore wpml constraints with suppress_filters in wp_query
 * Refactoring: Uses wp-components library now

#### 1.0.10

 * Bugfix: missing database table when updating from 1.0.0

#### 1.0.9

 * Bugfix: SSRQ rendering crash when using none latin1 chars
 * Refactoring: deprecated registerStore function replaced with createReduxStore
   and register

#### 1.0.8

 * New Widget: Textarea
 * Optimization: you can add a help text to Text widget
 * Optimization: Select Widget multiple values
 * Bugfix: fixed wrong auto save timeout sanitation

#### 1.0.7

 * New Widget: ListOf
 * Optimization: auto save block changes after a specific time

#### 1.0.6

 * New Widget: Media
 * Optimization: All block attributes are available in the blockx templates now
 * Bugfix: Taxonomies

#### 1.0.5

 * Checkt compatibility with WP5.7
 * Bugfix: Posts block was not using taxonomy query

#### 1.0.4

 * New Param: Filter “blockx_rest_posts” got a new $args parameter that holds the
   query args for the initial wp query

#### 1.0.3

 * New Widget: Divider
 * New Widget: Readonly
 * Bugfix: Post Widget custom post type title resolution

#### 1.0.2

 * Feature: Bidirectional relation for embedded posts exposed via public function‘
   blockx_get_embedded_in_post_ids’
 * Feature: New widget type Hidden
 * New filter: ‘blockx_rest_posts’ to change query result of posts query
 * Optimization: Custom ServerSideRenderQueue component for ssr rendering of blocks
   in a single request

#### 1.0.1

 * Feature: Template inheritance
 * New Block: Post Embed
 * New Block: Authors
 * New Widget: Post – Relate a post
 * New overridable methods for block types on post_save and post_delete
 * New overridable methods for widgets on post_save and post_delete

#### 1.0.0

 * First release

## Meta

 *  Phiên bản **1.10.3**
 *  Cập nhật lần cuối **2 năm trước**
 *  Số lượt cài đặt **30+**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.5.8**
 *  Phiên bản PHP ** 8.1 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/blockx/) và [German](https://de.wordpress.org/plugins/blockx/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/blockx)
 * 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/blockx/advanced/)

## Đánh giá

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

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/blockx/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/blockx/)

## Ủ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/)