WordPress.org

Support

Support » Plugins and Hacks » Media Categories » [Resolved] [Plugin: Media Categories] "Prettier" metabox

[Resolved] [Plugin: Media Categories] "Prettier" metabox

  • Add a few lines to the media_categories_meta_box function and the css file to make the categories box look “pretty.”

    In media_categories_meta_box, replace the first <div> with:

    <div id='categorydiv' class='postbox'>
    	<div class='inside'>

    make sure to close these div’s at the end.

    In media-categories-style.css, add

    .media-upload-form .postbox {
        width: 460px;
    }

    Also, I didn’t like the fact that it was putting the checked terms on top, so when I called wp_terms_checklist(), I passed in the option 'checked_ontop' => 0. Would be nice if you split out the hardcoded array being passed to wp_terms_checklist instead into a $args variable, and included this option in it.

    http://wordpress.org/extend/plugins/media-categories-2/

Viewing 2 replies - 1 through 2 (of 2 total)
  • additional css for the search box:

    .media-upload-form input#category-search{
    	width: 320px;
    }

    Plugin Author Eddie Moya

    @eddiemoya

    Thanks a lot – I’ve been neglecting this and my other plugins for a few months since I;ve been tied up with much larger scale plugins and development at work.

    When I get around to updating this plugin (which I hope will be soon), I will definitely take a look at what you’ve posted here.

    Thanks again! I always love it when people care enough to actually contribute back to my plugins. Its also evidence to my employer that Open Source is the way to go.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Media Categories] "Prettier" metabox’ is closed to new replies.
Skip to toolbar