helick / better-excerpt
The Helick better excerpt plugin
Package info
github.com/helick/better-excerpt
Type:wordpress-plugin
pkg:composer/helick/better-excerpt
v1.2.0
2019-07-31 20:15 UTC
Requires
- php: >=7.1
- composer/installers: ^1.6
- helick/contracts: ^1.1
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-01 00:28:16 UTC
README
The plugin enables TinyMCE editor for post excerpt.
Requirements
Make sure all dependencies have been installed before moving on:
Install
Via Composer:
$ composer require helick/better-excerpt
Usage
Custom post type support
Control supported post types:
add_filter('helick_better_excerpt_supported_post_types', function (array $postTypes) { $postTypes[] = 'your-custom-post-type'; return $postTypes; });
Control the editor settings:
add_filter('helick_better_excerpt_editor_settings', function (array $settings) { $settings['media_buttons'] = true; return $settings; });
Control the editor buttons:
add_filter('helick_better_excerpt_editor_buttons', function (array $buttons) { $buttons[] = 'alignleft'; $buttons[] = 'alignright'; $buttons[] = 'aligncenter'; return $buttons; });
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email evgenii@helick.io instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.