该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

KC Media Enhancements

描述

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.

屏幕截图

  • Settings page
  • Insert image with custom sizes into post
  • Set terms for the attachments

安装

  1. Use standard WordPress plugin installation or upload the kc-media-enhancements directory to your wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu
  3. 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 to false:

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