Media Library Categories
feature request - media category filter on insert media popup in (7 posts)

  1. rcain
    Posted 5 years ago #

    despite recent difficulties/back-end conflicts (see: http://wordpress.org/support/topic/plugin-media-library-categories-breaks-wp-v304-admin-menus-and-insert-media ), this is a very useful plugin, thanks. something like this should definitely be incorporated into wp core.

    i have couple of feature requests:

    1) the place one MOST needs a filter on media category is within admin,post/page, edit, insert media/image popups. yet it doesnt appear there. would be great if it did.
    2) ability to support hierarchical categories and make full use of wp-taxonomies. (at present, though it defines a custom hierarchical taxonomy, yet it only allows definition/maintenance of a flat structure/first layer from the admin,media-categories menu's).
    3) obviously, a permanent fix for the jquery conflict, as previously cited - http://wordpress.org/support/topic/plugin-media-library-categories-breaks-wp-v304-admin-menus-and-insert-media).


  2. merganser
    Plugin Author

    Posted 5 years ago #

    1) any suggestions on how to accomplish this? I put in a forum question but no one has responded.

    2) in my enhancement list

    3) fixed sorta

  3. rcain
    Posted 5 years ago #

    hi Merganser - thanks for reply and responses.

    i do have a little experience of modifying the media uploader pop up - basically cribbing someone elses plugin that used this technique. its a bit fiddly too - ajax callbacks etc , as i recall.

    also, i did run into problems with two plugins running simultaneously on same page, both invoking/using common js liraries. (as i recall i was forced to just commented out the 2nd plugins include eventually.)

    raises the question of how best to package and ship such (js) dependencies. ie. whether to consider writing a single plugin to install/manage all required js libraries, etc. wp core does a lot of good stuff with 'load order' parameters and strict version dependencies, etc (where they are implemented) - but it could do with a little refinement i think.

    i'll see if i can dig up some more info.

    good news youre planning to do taxonomies. keep up the good work.

  4. merganser
    Plugin Author

    Posted 5 years ago #

    hey wanted to let you know I just committed version 1.0.5

    it supports hierarchical categories and allows developer to utilize the slugs such as /media/[media category]/

  5. rcain
    Posted 5 years ago #

    great stuff merganser - just trying it out now (see also my other thread). works great so far. many thanks. keep up the good work. :)

  6. omegastudio
    Posted 4 years ago #

    i needed yesterday this functionality for one of my clients who transferred from joomla to WP so i have quickly added filter in popup

    you can get changed media-categories.php file from here:

    basically i have removed default media library tab in popup and replaced it with custom one where i have added filter so there is no messing around with core code.
    one thig is that in select list current category was not selected so i have change that also. now current category is selected

    i have commented code so you can see what was changed. changes were made on following lines:
    763-to the end

    hope you will find it useful and that developer will clean it a bit for next release of this excellent plugin

  7. merganser
    Plugin Author

    Posted 4 years ago #

    I just saw this post omegastudio. I will have to compare what you promoted on pastebin to what I included on 1.1


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic