k1sul1/sensible-content-output
Composer 安装命令:
composer require k1sul1/sensible-content-output
包简介
Make the_content() output a little more sane with these features. All features are optional and disabling them is easy.
README 文档
README
#Sensible content output
This plugin helps to keep your sanity when working with WordPress. At the moment it unwraps your inline images and removes the inline width declaration from figure elements embedded within content, to make your life easier.
Installing
Easiest way to install is with composer:
composer require k1sul1/sensible-content-output dev-master
But you can also just download this repository as a .zip file, and install it like you normally would.
Customizing
If for some reason (I can think of plenty) you don't want to use all the features, you can easily filter the features like this:
add_filter("sco_enabled_features", function($features){
// modify $features here
return $features;
});
Contributing
Contributions welcome! Feature wishlist:
- Options page
统计信息
- 总下载量: 389
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL2
- 更新时间: 2016-08-03