Thanks for your question and this example of something I hadn’t considered when I added the mla_alt_shortcode
feature.
The current MLA version does not support alternate shortcodes, such as fsg_link
, that require the “enclosing” shortcode notation. I have corrected this shortcoming and it will be included in the next version. Your example would then be coded as follows:
[mla_gallery ids="1230,1229,1228,1227" mla_alt_shortcode=fsg_link mla_alt_ids_name=include class=btn]Some text[/mla_gallery]
You would replace the ids=
parameter with whatever item selection parameters you need.
By the way, I had erratic results and some JavaScript errors when I tried using more than one fsg_photobox
and/or fsg_link
shortcodes on a single page. I also found that if you mix the self-closing and enclosing versions of [mla_gallery]
on one page you must use the “xhtml-style closing shortcodes like [mla_gallery /]
” for the self-closing shortcodes.
I will leave this topic unresolved until the next version goes out. Thanks again for your interest and for bringing this issue to my attention.
I have released v1.60, which contains the fix for the enclosing shortcode issue.
When you get a chance to upgrade and test this out, let me know if you have any problems or further questions. I’m going to mark this issue resolved; thanks for your patience.
Thread Starter
stenp
(@stenp)
I tried and it works as expected. Thanks for a quick fix. I’ll continue to try out MLA for a while before I decide it’s the best tool for my needs.