WordPress.org

Ready to get started?Download WordPress

Forums

Loop through Media library (2 posts)

  1. vahyd
    Member
    Posted 1 year ago #

    I need to accomplish two things.
    1. Add a custom meta data to media library attachments.
    2. Loop through the media library and return attachments with specific value in the custom meta data (from above)

    Is this possible or do I have to find an alternative solution.

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Have you considered using a popular plugin such as NextGen Gallery, where you can customize your images/galleries and add image tags, then output a gallery based on tag(s) with a simple shortcode?

    [nggtags gallery=tag1,tag2]

Topic Closed

This topic has been closed to new replies.

About this Topic