Mô tả
Custom Action Block is a powerful WordPress plugin that adds a new block type to the Gutenberg editor. This block allows users to insert custom action hooks anywhere on their WordPress site, not just in posts and pages. This flexibility enables developers to add dynamic content or functionality at any location where blocks can be used, including:
– Posts and pages
– Custom post types
– Widget areas (if block-based widgets are enabled)
– Site-wide areas in block-based themes (header, footer, sidebar)
– Reusable blocks that can be inserted anywhere
By providing this level of flexibility, Custom Action Block opens up endless possibilities for customizing and extending your WordPress site’s functionality.
Usage
For Content Creators:
- Edit a post or page using the block editor
- Click the ‘+’ icon to add a new block
- Search for “Custom Action” in the block inserter
- Add the Custom Action block to your content
- In the block settings, specify a unique name for your action (e.g., “my_custom_action”)
Ảnh màn hình




Khối
Plugin này cung cấp 1 khối.
- Custom Action
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/custom-action-blockdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
Hỏi đáp
-
Can I use Custom Action blocks in areas other than posts and pages?
-
Yes! Custom Action blocks can be used anywhere that supports blocks. This includes widget areas (if your theme supports block-based widgets), headers, footers, and other template parts in block-based themes.
-
Can I use multiple Custom Action blocks in a single post?
-
Yes, you can use as many Custom Action blocks as you need. Just make sure to give each a unique action name.
-
Is this plugin compatible with my theme?
-
This plugin should be compatible with any theme that supports the WordPress block editor (Gutenberg).
-
How can developers take advantage of these custom actions?
-
For example:
`php“`
Đánh giá
Người đóng góp & Lập trình viên
“Custom Action Block” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Custom Action Block” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.1 – Update
- Update – WordPress 6.8.2 compatibility
- Update – WooCommerce 10.1.2 compatibility
1.0.0
- Initial release
