Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #480703

    Hi,

    i use media categories for my medias. i would like to add this entry in masonry
    Is that possible ?

    Thank you

    #480847

    Hi yegortitov!

    You can select a single or multiple categories from the section pictured below:

    http://i.imgur.com/XVFEcaD.png

    Regards,
    Dake

    #481158

    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).

    View post on imgur.com

    View post on imgur.com

    View post on imgur.com

    • This reply was modified 9 years, 4 months ago by yegortitov.
    #481228

    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 ?

    #482118

    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

    • This reply was modified 9 years, 4 months ago by Elliott.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.