這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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/)

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈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