Hot answers tagged

3

Looking at the files that create the metabox, there isn't anything to really hook into that will allow us to add the description so we'll need to use jQuery. Since the script is extremely small, I've opted not to put it into an external file but instead use the admin_footer hook: /** * Prepend taxonomy descriptions to taxonomy metaboxes */ function ...


1

@Jeffrey's answer is correct is you are the one registering the post types, simply remove the support argument for comments. But if you want to remove it from all custom post types (that may be registered by plugins too) you can do: $cptslugs = get_post_types( array('public'=>false, '_builtin' => false) , 'names', 'and'); foreach ($cptslugs as $cpt) {...


1

As of WP 3.7 (https://core.trac.wordpress.org/ticket/14206) you can add this argument to register_taxonomy: 'meta_box_cb' => 'post_categories_meta_box' to get the built-in checkbox category style metabox without having to make your taxonomy hierarchical. Also you could instead provide your own callback function to create your own metabox (i.e. with a ...



Only top voted, non community-wiki answers of a minimum length are eligible