[wordpress插件] 清理HTML代码标签Clean up HTML code tags

wordpress 插件 文章 2020-03-24 16:30 0 73 全屏看文
评分
0
描述

清理HTML代码标签(Clear HTML Tags)是一款站长实用的WordPress文章编辑辅助插件,可以帮助站长快速实现清理HTML代码不需要的HTML标签。

Clear HTML Tags is a useful WordPress article editing auxiliary plug-in for webmasters, which can help webmasters to quickly clean up HTML tags that are not needed by HTML code.

支持清理的HTML代码标签包括:

HTML code tags that support cleanup include:

a/div/span/article/figcaption/figure/blockquote/section/canvas/table/tbody/thead/tfoot/header/footer/ul/li/ol/dt/dd/dl/hr/br/em/b/

a / div / span / article / figcaption / figure / blockquote / section / canvas / table / tbody / thead / tfoot / header / footer / ul / li / ol / dt / dd / dl / hr / br / em / b /

i/strong/iframe/ins/h1/h2/h3/h4等

i / strong / iframe / ins / h1 / h2 / h3 / h4 etc.

支持清理的HTML代码标签属性包括:

Supported HTML code tag attributes include:

id/class/style/srcset/sizes/width/height/data-*等

id / class / style / srcset / sizes / width / height / data- * etc.

Notes

Notes

清理HTML代码标签<

Clean HTML tags <

/a>是一款简单实用的WordPress文章编辑辅助插件,可以帮助站长将文章HTML代码中不需要的代码标签及属性一键删除。

/ a> is a simple and practical WordPress article editing auxiliary plug-in, which can help webmasters delete unwanted code tags and attributes in article HTML code with one click.

目前支持清理的HTML代码标签30+种,常见标签属性8种。

Currently supports 30+ types of cleaned up HTML code tags and 8 common tag attributes.

闪电博(wbolt.com

Lightning Blog ( wbolt.com

>)专注于WordPress主题和插件开发,为中文博客提供更多优质和符合国内需求的主题和插件。

>) Focus on the development of WordPress themes and plugins, and provide Chinese bloggers with more high-quality themes and plugins that meet domestic needs.

此外我们也会分享WordPress相关技巧和教程。

We will also share WordPress related tips and tutorials.

除了百度搜索推送管理插件外,目前我们还开发了以下WordPress插件:

In addition to the Baidu search push management plugin, we have also developed the following WordPress plugins:

安装步骤

FTP安装

FTP installation

1. 解压插件压缩包clear-html-tags.zip,将解压获得文件夹上传至wordpress安装目录下的 /wp-content/plugins/目录.

1. Uncompress the clear-html-tags.zip package, and upload the uncompressed folder to the / wp-content / plugins / directory under the wordpress installation directory.

2. 访问WordPress仪表盘,进入“插件”-“已安装插件”,在插件列表中找到“清理HTML代码标签”,点击“启用”.

2. Visit the WordPress dashboard, go to "Plugins"-"Installed Plugins", find "Clean HTML tags" in the list of plugins, and click "Enable".

3. 编辑文章时,设置你需要清理的HTML代码标签及属性,点击清理按钮即可将文章代码不需要的标签及属性清理掉.

3. When editing the article, set the tags and attributes of the HTML code that you need to clean up, and click the cleanup button to remove the tags and attributes that are not needed for the article code.

仪表盘安装

Dashboard installation

1. 进入WordPress仪表盘,点击“插件-安装插件”:

1. Go to the WordPress dashboard and click on "Plugins-Install Plugins":

* 关键词搜索“清理HTML代码标签”,找搜索结果中找到“清理HTML代码标签”插件,点击“现在安装”;

* Keyword search "Clean HTML tags", find "Clean HTML tags" plugin in search results, and click "Install Now";

* 或者点击“上传插件”-选择“清理HTML代码标签”插件压缩包clear-html-tags.zip,点击“现在安装”。

* Or click "upload plugin"-select the "clean up HTML code tags" plugin clear-html-tags.zip and click "install now".



2. 安装完毕后,启用 清理HTML代码标签 插件.

2. After installation, enable the Clean Up HTML Code Tags plugin.

3. 编辑文章时,设置你需要清理的HTML代码标签及属性,点击清理按钮即可将文章代码不需要的标签及属性清理掉.

3. When editing the article, set the tags and attributes of the HTML code that you need to clean up, and click the cleanup button to remove the tags and attributes that are not needed for the article code.

下载地址
https://downloads.wordpress.org/plugin/clear-html-tags.1.0.0.zip
-EOF-