Media Categories as Classes on WordPress Gallery Shortcode
OK, so I figured out what I was doing wrong. What I had originally tried was the foreach on its own and then placing the gallery output below it. I also tried wrapping the foreach around the entire gallery output. To get it working, I needed to wrap the foreach around the output of the … Read more