Описание
This plugin provides enhancements for media/attachment management; the ability to insert images with custom size into posts and set terms for the attachments files.
Установка
- Use standard WordPress plugin installation or upload the
kc-media-enhancements
directory to yourwp-content/plugins
directory - Activate the plugin through the ‘Plugins’ menu
- Read the FAQ
Часто задаваемые вопросы
- Can I only activate components I need?
-
Sure! By default, all components are enabled. If you have [KC Settings plugin] (https://wordpress.org/extend/plugins/kc-settings/) installed and activated, you’ll have the luxury to select the components you need by visiting Media » Enhancements in you dashboard.
If you don’t want to use KC Setting plugin but still want to enable only certain components, you’ll need to add this block of code to your theme’s
functions.php
file and change each unwanted component’s value tofalse
:function my_kcme_options( $options ) { $options = array( 'general' => array( 'components' => array( 'insert_custom_size', 'taxonomies' ), 'taxonomies' => array( 'category', 'post_tag' ) ) ); return $options; } add_filter( 'kcme_options', 'my_kcme_options' );
Please replace the taxonomies array with the taxonomy names you want to set for the attachment post type.
Options saved by KC Settings will always get the highest priority when the plugin is active.
- I Don’t see the custom size option when I tried to insert an image into posts
-
Either the original image dimension is smaller than the custom size, or you added the custom size after the image has been uploaded.
If this is the case, you need to rebuild the image’s thumbnails using Viper007Bond’s excellent plugin: [Regenerate Thumbnails] (https://wordpress.org/extend/plugins/regenerate-thumbnails/)
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«KC Media Enhancements» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «KC Media Enhancements» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
0.6
- Use jQuery UI autocomplete for displaying terms instead of using checkboxes
0.5
- Replace default taxonomy terms input fields on media library lighbox with checkboxes and an input field to add new terms
- Blacklist post_format
- Move setting menu under Media
0.4
- Requires WordPress 3.5
0.1
- Initial release