WordPress.org

Ready to get started?Download WordPress

Forums

Media Features
Media category does not show in WP Media library list (10 posts)

  1. chrisHe
    Member
    Posted 1 year ago #

    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/

  2. stratefly
    Member
    Posted 1 year ago #

    Same problem here :-(

  3. RonDsy
    Blocked
    Posted 1 year ago #

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

  4. creactive
    Member
    Posted 1 year ago #

    Same here. Hope problem will be fixed soon.

  5. Kristy Sullivan
    Member
    Posted 1 year ago #

    Same here. Please fix.

  6. onerob
    Member
    Posted 10 months ago #

    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.

  7. codee47
    Member
    Posted 10 months ago #

    Great tip thanks! Future updates?

  8. onerob
    Member
    Posted 10 months ago #

    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.

  9. Greybox
    Member
    Posted 8 months ago #

    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.

  10. franqus
    Member
    Posted 7 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic