• Resolved bhenselmann

    (@bhenselmann)


    Hi,
    I´m using the plugin and I´m really happy with the functions like create own templates for the mal-galleries.
    But I´m missing the possibility to show the images of a mla-gallery directly in the Visual mode of the page editor and to visually sort the images like in the modal window with the WP [gallery]-shortcode.
    Is there a way to achieve this?
    Thanks for helping!
    Bernhard

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

    (@dglingren)

    Thank you for your kind words and for your question. I regret that the current MLA version does not have any support along the same lines implemented by the WordPress [gallery] shortcode. The [mla_gallery] shortcode is more often used with database queries that dynamically construct the gallery display, so visual tools have not been a priority for me.

    I regret the news is not better, but here’s a workaround that you can consider. You can use the WordPress “Create Gallery” features to build the gallery you want. When you’re done, use the Editor’s text mode to change the shortcode name from [gallery] to [mla_gallery]. You can add any MLA-specific parameters you need, which seem to be preserved by the Visual Editor. You can also use MLA’s “enclosing shortcode” syntax to more clearly separate the MLA-specific parameters, e.g.:

    
    [mla_gallery ids="4457,4400,4455"]
    mla_markup="default"
    mla_style=default
    posts_per_page=2
    [/mla_gallery]
    

    To modify the content or order of the ids parameter items you can change the shortcode name back to [gallery] and go back to the Visual Editor.

    The Visual Editor tends to “improve” any HTML markup in the content so this may not always work, but if you are already using a custom template you can move the MLA parameters into the Arguments section of the template and out of harm’s way.

    I know this is a crude alternative but it may be workable for your application. I am marking this topic resolved because the question has been answered, but please update it if you have any problems or further questions regarding the above suggestions. Thanks for your understanding and your interest in the plugin.

    Thread Starter bhenselmann

    (@bhenselmann)

    thanks for the answer!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘how to sort mla-gallery visually?’ is closed to new replies.