-
AuthorPosts
-
July 30, 2015 at 2:32 pm #480703
Hi,
i use media categories for my medias. i would like to add this entry in masonry
Is that possible ?Thank you
July 30, 2015 at 6:52 pm #480847Hi yegortitov!
You can select a single or multiple categories from the section pictured below:
http://i.imgur.com/XVFEcaD.png
Regards,
DakeJuly 31, 2015 at 8:59 am #481158Hi 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).- This reply was modified 9 years, 3 months ago by yegortitov.
July 31, 2015 at 10:34 am #481228I 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 ?
August 3, 2015 at 2:48 pm #482118Hi!
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- This reply was modified 9 years, 3 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.