跳到内容

BlockCode Exporter

v1.1.0

George Z. · 2026年9月22日 上架

Export WordPress block markup from post lists or the editor. Download an .html file, copy the code, or export several items in a ZIP.

正在使用
10 以下
评分
暂无
累计下载
266
最近更新
2026年9月24日
需要 WordPress 6.6+已测试到 7.1.5PHP 8.2+

贡献者

截图

Export block code in the Pages list, alongside the usual row actions.
Export block code in the Pages list, alongside the usual row actions.
Choose a filename and file format, then download the saved block markup or copy it.
Choose a filename and file format, then download the saved block markup or copy it.
Export several selected pages as separate files in one ZIP.
Export several selected pages as separate files in one ZIP.
The same export dialog in the block editor uses the current content, including unsaved changes.
The same export dialog in the block editor uses the current content, including unsaved changes.
WordPress confirms when the current editor content has been copied to the clipboard.
WordPress confirms when the current editor content has been copied to the clipboard.

BlockCode Exporter saves the block markup behind a WordPress post or page. A list export downloads the saved source unchanged, including block comments, settings, HTML, and whitespace.

Use Export block code in a Posts or Pages list to download the saved version. In the block editor, open the three-dot Options menu and choose Export block code to download what is currently in the editor, including unsaved changes. You can also copy the code to your clipboard.

For several posts or pages, select them in the list and choose Export block code from Bulk actions. The download is a ZIP with a separate file for each item.

Files use .html by default because WordPress block markup contains HTML. You can choose .md or .txt if those extensions suit your workflow. The content is the same in every format: choosing .md does not convert it to Markdown, and .html is not a complete rendered web page.

The plugin does not change your posts or send their content to another service. Exports include the block markup, not media files, theme styles, custom fields, or the content behind a synced-block reference.

Developed by George Zamfir.

Developer notes

List exports return the saved post_content unchanged unless a site uses the blockcode_exporter_content filter. Editor exports use the current block editor content and do not run that PHP filter. The blockcode_exporter_filename and blockcode_exporter_is_post_type_enabled filters apply to list exports. Filenames are sanitized after filtering, and list requests still require permission to edit each item.

Bulk exports are limited to 100 items and 20 MiB of source per request. ZIP filenames include post IDs to avoid collisions.

The GPL-licensed source and build instructions are included in the installation ZIP.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums