WordPress.org

Support

Support » Plugins and Hacks » Media category does not show in WP Media library list

Media category does not show in WP Media library list

  • Hi, using WP3.5.1, tested with bare 2011 theme. Although the filter by category name DOES work, so the images are being associated with a category, in the Media Library list, the Category is always shown as ‘-‘
    Would be good if there is a patch soon, as I would like to use this – any chance?
    Test details: Media Feature v W.P. 3.5.1, with core themes 2011,2012 and no other plugins enabled. Tested on both local and remote sites, running Apache and php 5.2, 5.0 respectively.
    Added media categories, assigned to some existing images. Result: category shows ‘-‘.
    Uplpoaded new image, assigned to a media category, result shows as ‘-‘
    Thanks
    Chris
    P.S. Uploaded jpg image. category displau as above. Then inserted into post – just inserts a link to the file – would be good to be able to associate a pdf icon.

    .

    http://wordpress.org/extend/plugins/media-features/

Viewing 9 replies - 1 through 9 (of 9 total)
  • stratefly
    Member

    @stratefly

    Same problem here 🙁

    RonDsy
    Blocked

    @rondsy

    Also same here. Where is the author? Five weeks now without any response.

    creactive
    Member

    @creactive

    Same here. Hope problem will be fixed soon.

    Same here. Please fix.

    Hi. I’ve found a fix for this. Change these two lines (477 & 495) in media-features.php

    $columns['categories'] 	= __( 'Categories', 'media-features' );

    to

    $columns['media_categories'] 	= __( 'Categories', 'media-features' );

    and

    if ( 'categories' == $column ) {

    to

    if ( 'media_categories' == $column ) {

    It doesn’t have to be ‘media_categories’, it could be ‘fried eggs’. As long as it’s not ‘categories’, ‘tags’, ‘post_tag’ or ‘taxonomy-something’ you should be fine.

    Great tip thanks! Future updates?

    I’m not the plugin author but I guess there’s nothing to stop someone using the code and releasing a separate version with the fix included.

    Greybox
    Participant

    @greybox

    Thank you for the fix!!! I tried a few other similar plugins and this one appeared to be the best. I like this plugin and I hope it will be maintained.

    franqus
    Member

    @franqus

    thanks to onerob for the fix. the plugin works fine now.

    Is there a way to make this column sortable now? Thanks for any advice.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Media category does not show in WP Media library list’ is closed to new replies.