Hi,
i use media categories for my medias. i would like to add this entry in masonry
Is that possible ?
Thank you
Hi yegortitov!
You can select a single or multiple categories from the section pictured below:
http://i.imgur.com/XVFEcaD.png
Regards,
Dake
Hi Dake,
thanks for the response.
In fact, i use the plugin Enhanced Media Library. It allows to use categories for media, like – in my case – pdf files.
The catogories (taxonomy category) are in the select list, but not the media categories (taxonomy media_category).
I found the problem, in file generic-helper.class.php
Attachments are not allowed.
replace
static function public_post_types()
{
$post_types = get_post_types(array('public' => false, 'name' => 'attachment', 'show_ui'=>false, 'publicly_queryable'=>false), 'names', 'NOT');
$post_types['page'] = 'page';
$post_types = array_map("ucfirst", $post_types);
$post_types = apply_filters('avia_public_post_types', $post_types);
self::$cache['post_types'] = $post_types;
return $post_types;
}
by
static function public_post_types()
{
$post_types = get_post_types(array('public' => false, 'show_ui'=>false, 'publicly_queryable'=>false), 'names', 'NOT');
$post_types['page'] = 'page';
$post_types = array_map("ucfirst", $post_types);
$post_types = apply_filters('avia_public_post_types', $post_types);
self::$cache['post_types'] = $post_types;
return $post_types;
}
How can i allow attachment ?
Hi!
Hmm, I’m not really sure what your trying to do. We do not support third party plugins though. It would be best to ask the plugin author about that.
Cheers!
Elliott