Media Library Categories
I found a solution! My code changed quite a bit… Here is what the functions.php file looks like (which did not change): function wptp_add_categories_to_attachments() { register_taxonomy_for_object_type( ‘category’, ‘attachment’ ); } add_action( ‘init’ , ‘wptp_add_categories_to_attachments’ ); But here is the new code in footer.php, which returns the images from the Media Library, but only from an … Read more