Replies: 0
Is there some snippet of code I can use to allow the photonic gallery and lightbox to be able to properly render an image gallery that is dynamically created via a media category instead of using specific image IDs?
I am using the plugin https://wpuxsolutions.com/plugins/enhanced-media-library to add categories and tags to my images, and wordpress natively supports my ability to create a gallery using this shortcode:
{gallery order="DESC" media_category="12" link="file" } or {gallery order="DESC" media_category="dogs" link="file" }
Is there a way that your gallery and lightbox can be made aware of media categories or tags like native wordpress gallery shortcode is able to?
BTW – The photonic lightbox function works with this native wordpress gallery when photonic uses the default gallery shortcode. But I cannot create using the photonic gallery insert tool, nor can I manually code a photonic gallery using the media_category parameter. If I set my photonic custom shortcode to be {mygallery}, then I get an error displayed saying ” The kind parameter is required if object_id or login_name is not specified. See here for documentation.”