Title: WP Post HTML to Blocks
Author: zeshanb
Published: <strong>2019 年 1 月 17 日</strong>
Last modified: 2023 年 8 月 16 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-post-html-to-blocks/assets/icon-128x128.png?rev=2014498)

# WP Post HTML to Blocks

 作者：[zeshanb](https://profiles.wordpress.org/zeshanb/)

[下载](https://downloads.wordpress.org/plugin/wp-post-html-to-blocks.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-post-html-to-blocks/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-post-html-to-blocks/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-post-html-to-blocks/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-post-html-to-blocks/#developers)

 [支持](https://wordpress.org/support/plugin/wp-post-html-to-blocks/)

## 描述

This plugin is for content that is copy pasted into Gutenberg editor edited as html
in classic block editor.

Purpose of this plugin is to allow a WordPress publisher administrator to manually
surround html tags such as p, div, br for interpretation by Gutenberg editor as 
html blocks.

This plugin also allows parsing and surrounding of line spaced content in classic
editor.

A WordPress admin can use this plugin as a manual way to parse for line spaces (\
n), `<p> </p>`, `<div> </div>`, and `<br>`. Turning them into html blocks.

## 屏幕截图

 * [[
 * Suppose you have a Wordpress post with paragraph lines from a classic editor
 * [[
 * Using this plugin you search for post title select paragraph tags and press encapsulate
   html tags
 * [[
 * This plugin converts html tags into html blocks in Gutenberg editor.
 * [[
 * Location of plugin’s configuration page.
 * [[
 * Configuration page selecting a tag for searching through.

## 安装

 1. Download the plugin
 2. Unzip and Upload the wp-post-html-to-blocks.zip folder to your site’s wp-content/
    plugins directory
 3. Activate the plugin in the WordPress Admin Panel
 4. Visit plugin’s config page under settings side menu in your WordPress dashboard
 5. On config page in admin. Locate a post based on it’s title by typing in keywords
    from a post’s title. Minimum of two words are required to do a proper search.
 6. Select number of desired results from Top drop down
 7. Press search

## 常见问题

### Why there isn’t a option to search contents of all posts?

Although all searches of posts are user initiated. Searching for key phrases in 
contents of each post would compromise the performance of a WordPress installation.

### Does this parse tags within tags?

Sorry, This plugin allows parsing of external surrounding tags. Not tags inside 
of tags. Tags inside tags will be treated by Gutenberg as requiring repairs and 
Gutenberg editor will alert post editor.

### Does this plugin edit posts with publish status by default?

You have a choice to select the post with status you prefer.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Post HTML to Blocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ zeshanb ](https://profiles.wordpress.org/zeshanb/)

[帮助将「WP Post HTML to Blocks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-post-html-to-blocks)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-post-html-to-blocks/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-post-html-to-blocks/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/wp-post-html-to-blocks/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-post-html-to-blocks/)。

## 更新日志

#### 1.0

 * First version of the plugin.

#### 1.0.1

 * added default dashbaord styles to table and search form

#### 1.1

 * Fixed undefined index bugs
 * new screenshots for readme

#### 1.2

 * Welcome panel color to grey
 * Use the word markup in welcome message

## 额外信息

 *  版本 **1.2**
 *  最后更新：**3 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-post-html-to-blocks/)
 * 标签
 * [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[html block](https://cn.wordpress.org/plugins/tags/html-block/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-post-html-to-blocks/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-post-html-to-blocks/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-post-html-to-blocks/reviews/)

## 贡献者

 *   [ zeshanb ](https://profiles.wordpress.org/zeshanb/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-post-html-to-blocks/)