mla_gallery
-
Hi again, wondering if we can push one step further and limit the number of files it returns. So far my shortcode looks like this:
[mla_gallery attachment_category=news-release post_mime_type=application/pdf link=file size=none meta_key=”_wp_attached_file” orderby=meta_value order=DESC]
I have this at the bottom of my page but would prefer it to return the 5 most recent news releases. I use the widget title to link to the News Release page where I would also like to make it so I can pull news release files of a certain year. I assume my base shortcode should still look like this:
[mla_gallery attachment_category=news-release post_mime_type=application/pdf link=file size=none meta_key=”_wp_attached_file” orderby=meta_value order=DESC]
The topic ‘mla_gallery’ is closed to new replies.