Giter Club home page Giter Club logo

kc-media-enhancements's Introduction

=== Plugin Name ===
Contributors: kucrut
Donate link: http://kucrut.org/
Tags: media, attachment, taxonomy, terms, category, tag
Requires at least: 3.0
Tested up to: 3.1
Stable tag: 0.1

Enhance WordPress media/attachment management

== Description ==

This plugin provides enhancements for media/attachment management, such as the ability to insert images with custom size into posts and set terms for the attachments files.

== Installation ==

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 section on readme.txt if you need to enable only certain components

== Frequently Asked Questions ==

= Can I only activate components I need? =
##### Short answer:
Sure!

##### Long Answer:
By default, all components are enabled. If you have [KC Settings plugin] (http://wordpress.org/extend/plugins/kc-settings/) installed and activated, you'll have the luxury to select the components you need by visiting *Settings* » *KC 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 this block of code to your theme's `functions.php` file and change each unwanted component's value to `false`:

`
function my_kmwe_options( $options ) {
	$options = array(
		'general' => array(
			'components' => array(
				'insert_custom_size'	=> true,
				'taxonomies'					=> true
			),
			'taxonomies'	=> array(
				'category'	=> true,
				'post_tag'	=> true
			)
		)
	);

	return $options;
}
add_filter( 'kcme_options', 'my_kcme_options' );
`

Please replace the taxonomies array keys 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.

== Screenshots ==
1. Settings page
2. Insert image with custom sizes into post
3. Set terms for the attachments


== Changelog ==

= 0.1 =
* Initial release

kc-media-enhancements's People

Stargazers

Pauli Price avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.