Version Description
- Better internationalisation
Download this release
Release Info
Developer | jeffrey-wp |
Plugin | Media Library Categories |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- index.php +2 -2
- readme.txt +31 -6
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Media Library Categories
|
4 |
* Plugin URI: http://wordpress.org/plugins/wp-media-library-categories/
|
5 |
* Description: Adds the ability to use categories in the media library.
|
6 |
-
* Version: 1.
|
7 |
* Author: Jeffrey-WP
|
8 |
*/
|
9 |
|
@@ -17,7 +17,7 @@ add_action( 'init', 'wpmediacategory_init' );
|
|
17 |
function wpmediacategory_add_category_filter() {
|
18 |
$screen = get_current_screen();
|
19 |
if ( 'upload' == $screen->id ) {
|
20 |
-
$dropdown_options = array( 'show_option_all' => __( 'View all categories'
|
21 |
wp_dropdown_categories( $dropdown_options );
|
22 |
}
|
23 |
}
|
3 |
* Plugin Name: Media Library Categories
|
4 |
* Plugin URI: http://wordpress.org/plugins/wp-media-library-categories/
|
5 |
* Description: Adds the ability to use categories in the media library.
|
6 |
+
* Version: 1.2
|
7 |
* Author: Jeffrey-WP
|
8 |
*/
|
9 |
|
17 |
function wpmediacategory_add_category_filter() {
|
18 |
$screen = get_current_screen();
|
19 |
if ( 'upload' == $screen->id ) {
|
20 |
+
$dropdown_options = array( 'show_option_all' => __( 'View all categories' ), 'hide_empty' => false, 'hierarchical' => true, 'orderby' => 'name', );
|
21 |
wp_dropdown_categories( $dropdown_options );
|
22 |
}
|
23 |
}
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Plugin Name ===
|
2 |
-
Contributors:
|
3 |
-
Tags: category, categories, media, library
|
4 |
-
Requires at least: 3.
|
5 |
Tested up to: 3.7.1
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -15,12 +15,37 @@ Adds the ability to use categories in the media library. When activated a dropdo
|
|
15 |
|
16 |
== Installation ==
|
17 |
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
3. A dropdown of categories will show up in the media library
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
== Changelog ==
|
23 |
|
|
|
|
|
|
|
24 |
= 1.1 =
|
25 |
* Add a link to media categories on the plugin page
|
26 |
|
1 |
=== Plugin Name ===
|
2 |
+
Contributors: jeffrey-wp
|
3 |
+
Tags: category, categories, media, library, medialibrary
|
4 |
+
Requires at least: 3.1
|
5 |
Tested up to: 3.7.1
|
6 |
+
Stable tag: 1.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
15 |
|
16 |
== Installation ==
|
17 |
|
18 |
+
For an automatic installation through WordPress:
|
19 |
+
|
20 |
+
1. Go to the 'Add New' plugins screen in your WordPress admin area
|
21 |
+
2. Search for 'Media Library Categories'
|
22 |
+
3. Click 'Install Now' and activate the plugin
|
23 |
+
4. A dropdown of categories will show up in the media library
|
24 |
+
|
25 |
+
|
26 |
+
For a manual installation via FTP:
|
27 |
+
|
28 |
+
1. Upload the 'Media Library Categories' directory to the '/wp-content/plugins/' directory
|
29 |
+
2. Activate the plugin through the 'Plugins' screen in your WordPress admin area
|
30 |
3. A dropdown of categories will show up in the media library
|
31 |
|
32 |
+
|
33 |
+
To upload the plugin through WordPress, instead of FTP:
|
34 |
+
|
35 |
+
1. Upload the downloaded zip file on the 'Add New' plugins screen (see the 'Upload' tab) in your WordPress admin area and activate.
|
36 |
+
2. A dropdown of categories will show up in the media library
|
37 |
+
|
38 |
+
== Screenshots ==
|
39 |
+
|
40 |
+
1. Filter by category in the media library
|
41 |
+
2. Manage categories in the media library
|
42 |
+
|
43 |
+
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 1.2 =
|
47 |
+
* Better internationalisation
|
48 |
+
|
49 |
= 1.1 =
|
50 |
* Add a link to media categories on the plugin page
|
51 |
|