With Custom Taxonomy don't see categories on media listing
-
Thanks for a great plugin. When I use the plugin with no additional taxonomy, the media listing shows the categories for each media entry and allows clicking on the category to see all of the media. But when I put in my own taxonomy, mediacat, I see it on the edit screen, but do not get the category heading on the media listing (between author and uploaded to). I have read the instructions many times, but must be missing something.
In functions.php of child theme, I have defined the taxonomy and added the following code:
add_filter(‘mc_taxonomy’, ‘win_filter_taxonomy’);
function win_filter_taxonomy($taxonomy){
if($taxonomy == ‘category’){
$taxonomy = ‘mediacat’;
}return $taxonomy;
}$my_custom_media_metabox = new Media_Categories(‘mediacat’);
- The topic ‘With Custom Taxonomy don't see categories on media listing’ is closed to new replies.