Grab images from wordpress media library category

admin

Administrator
Staff member
Just picking up wordpress as of late and I am trying to create a homepage slide show. I am creating a custom theme for a client and I want to be able to categorize media in the media library, so I am using <a href="https://sites.google.com/site/medialibarycategories/" rel="nofollow">this plugin</a> to add categories so I can just pull the images from the "homepageBanner" gallery that I created.

When I pull images from my media library on my template via get_posts(), get_children() or do_shortcodes(), they all don't give me a property on the objects that are returned to determine what category they are in.

I imagine this has been done before (without a plugin), and seems like an incredibly easy task, however where I look and search, all I am finding are plug-ins.