Thanks for your update with the additional information. I had a quick look at the Avada site, but it doesn’t have enough information to shed light on your situation.
Thanks as well for posting the source text of your shortcode; very helpful. I tried it on my test system and it opens PDF documents in a separate tab, just as you’d like. I did make one change which might apply to your application, and I deleted mla_viewer=true
. This option no longer works, but in your case the size=icon
parameter takes precedence and mla_viewer
is ignored.
I don’t know if this applies to your application, but I had to add post_parent=all
to my version of your shortcode. By default, [mla_gallery]
only displays items that are “attached” to the post or page on which the shortcode appears; that’s the WordPress default. The post_parent=all
parameter overrides this and shows all of the PDF documents in the Media Library. You could also display specific documents with theids
parameter or use taxonomy terms to select the documents for the gallery display.
I would suggest adding post_parent=all
just as a test.
I don’t know if the rel="nobox"
attribute is the right way to disable the lightbox in the Aveda theme – you’d have to check their documentation to make sure.
If you’d like to send a link to your site I can investigate further. You can use the Contact Us page at our web site:
Fair Trade Judaica/Contact Us
I look forward to hearing from you. Thaks for your interest in the plugin.