k1sul1/sensible-content-output

Make the_content() output a little more sane with these features. All features are optional and disabling them is easy.

Installs: 370

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:wordpress-plugin

0.2.1 2017-05-04 07:40 UTC

This package is auto-updated.

Last update: 2024-05-17 19:13:24 UTC


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.

Build Status

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