Group images in media library
Attachments itself same as posts… so you can think on giving tham meta_values or adding taxonomies to tham. as for me i always used first method… this is a simple example of how this functioonality works… add_filter(“attachment_fields_to_edit”, “afields_to_edit”, 10, 2); add_filter(“attachment_fields_to_save”, “afields_to_save”, 10, 2); function afields_to_save($post, $attachment){ $parentPost = get_post($post[‘post_parent’]); /************************************************************* // Roles *************************************************************/ if … Read more