Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

KC Media Enhancements

Apraksts

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.

Ekrānuzņēmumi

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

Uzstādīšana

  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

BUJ

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/)

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“KC Media Enhancements” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “KC Media Enhancements” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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