• Resolved stenp

    (@stenp)


    Hi. I am using MLA to select images from att_category and pass to Full Screen Galleria with the use of [mla_alt_shortcode] and that works perfect when using the FSG shortcode [fsg_photobox] but I would like to use also the shortcode fsg_link but the syntax for that is e.g.
    [fsg_link class="btn"]Some text[/fsg_link]
    Is this possible?

    http://wordpress.org/plugins/media-library-assistant/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    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.

    Plugin Author David Lingren

    (@dglingren)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use mla_alt_shortcode with begin[X] and end[/X] brackets.’ is closed to new replies.