Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Publicious.org
Plugins
Media Categories
Commits
611c18a4
Commit
611c18a4
authored
Oct 28, 2015
by
John James Jacoby
Browse files
Improve media-grid layout.
Bump to 0.1.1.
parent
84e86536
Changes
3
Hide whitespace changes
Inline
Side-by-side
assets/js/media-views.js
View file @
611c18a4
...
...
@@ -60,4 +60,9 @@ window.wp = window.wp || { };
}
);
}
}
);
}
)(
jQuery
);
\ No newline at end of file
// Relocate the new dropdown
$
(
document
).
ready
(
function
()
{
$
(
'
.media-toolbar.wp-filter .select-mode-toggle-button
'
).
after
(
$
(
'
.media-toolbar.wp-filter .attachment-filters
'
)
);
}
);
}
)(
jQuery
);
readme.txt
View file @
611c18a4
...
...
@@ -3,7 +3,7 @@ Contributors: johnjamesjacoby, stuttter
Tags: media, library, attachment, category, categories, organizer, management, files
Requires at least: 4.3
Tested up to: 4.4
Stable tag: 0.1.
0
Stable tag: 0.1.
1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J
...
...
@@ -57,5 +57,8 @@ http://github.com/stuttter/wp-media-categories/
== Changelog ==
= 0.1.1 =
* Improve media grid layout
= 0.1.0 =
* Initial release
wp-media-categories.php
View file @
611c18a4
...
...
@@ -4,13 +4,13 @@
* Plugin Name: WP Media Categories
* Plugin URI: https://wordpress.org/plugins/wp-media-categories/
* Author: John James Jacoby
* Author URI: http
s
://
profiles.wordpress.org/johnjamesjacoby
/
* License: GPL
-2.0
* Author URI: http://
jjj.me
/
* License: GPL
v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wp-media-categories
* Domain Path: /lang
* Description: Categories for media & attachments
* Version: 0.1.
0
* Version: 0.1.
1
*/
// Exit if accessed directly
...
...
@@ -27,13 +27,13 @@ function _wp_media_categories() {
$plugin_path
=
plugin_dir_path
(
__FILE__
);
// Admin-only common files
require
$plugin_path
.
'includes/admin.php'
;
require
$plugin_path
.
'includes/ajax.php'
;
require
$plugin_path
.
'includes/functions.php'
;
require
$plugin_path
.
'includes/taxonomies.php'
;
require
$plugin_path
.
'includes/walkers.php'
;
require
$plugin_path
.
'includes/widgets.php'
;
require
$plugin_path
.
'includes/hooks.php'
;
require
_once
$plugin_path
.
'includes/admin.php'
;
require
_once
$plugin_path
.
'includes/ajax.php'
;
require
_once
$plugin_path
.
'includes/functions.php'
;
require
_once
$plugin_path
.
'includes/taxonomies.php'
;
require
_once
$plugin_path
.
'includes/walkers.php'
;
require
_once
$plugin_path
.
'includes/widgets.php'
;
require
_once
$plugin_path
.
'includes/hooks.php'
;
}
add_action
(
'plugins_loaded'
,
'_wp_media_categories'
);
...
...
@@ -56,5 +56,5 @@ function wp_media_categories_get_plugin_url() {
* @return int
*/
function
wp_media_categories_get_asset_version
()
{
return
2015102
2
0001
;
return
2015102
8
0001
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment