Title: [mla_gallery] shortcode &#8211; it does not work
Last modified: July 6, 2017

---

# [mla_gallery] shortcode – it does not work

 *  Resolved [stbuchholz](https://wordpress.org/support/users/stbuchholz/)
 * (@stbuchholz)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/)
 * I have successfully installed the plugin.
    Other plugins are not activated.
 * Except for The shortcodes the plugin works. Do I have to observe or adjust something?
 * Best regards
 * Stephan

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9295952)
 * Thanks for your question. If the MLA plugin is active and the Media/Assistant
   screen is working there are no additional steps required to activate the shortcodes.
   Without more information it is hard to give you specific guidance, but here are
   a few general tips that might help.
 * First, know that you must enter the shortcode(s) directly in the post/page editor;
   there is no “visual” shortcode editor for the MLA shortcodes. when you add an`[
   mla_gallery]` shortcode to a post or page, what do you see? If you see the shortcode
   itself then something has gone wrong with the MLA code (unlikely) or the shortcode
   you entered is not formatted properly. Have you tried using the “Text” tab of
   the post/page editor to enter the shortcode?
 * By default, `[mla_gallery]` displays only those images “attached” to the post/
   page on which you ente the shortcode. You must add parameters to the shortcode
   to get other results. If you simply don’t see any gallery display, try a very
   simple shortcode such as this one:
 *     ```
       [mla_gallery post_parent=all posts_per_page=12]
       ```
   
 * That should display 12 images from your media library. Does that work?
 * I hope the above suggestions are helpful. I will leave this topic unresolved 
   until I hear back from you. Any additional details you can provide will be very
   helpful. Thanks for your interest in the plugin.
 *  Thread Starter [stbuchholz](https://wordpress.org/support/users/stbuchholz/)
 * (@stbuchholz)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9305469)
 * Sorry, have tried everything,
 * The wizard can be seen, uploads are possible, shortcodes do not work, they are
   displayed as text.
 * [Gallery] works.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9306262)
 * Thank you for your update and for your efforts to work through the problem. I
   regret that you’re still having trouble.
 * You wrote “**_The wizard can be seen._**” MLA does not have any “wizards”; does
   this mean you see the “Assistant” submenu item in the Media admin section and
   can access the Media/Assistant screen? Do you see the “Media Library Assistant”
   submenu in the “Settings” admin section?
 * If the MLA admin screens are present but the shortcodes are not working there
   may be information in the error log that can help me investigate further. You
   can find more information about how to access the error log in this recent topic:
 * [Bulk Edit on Media Assistant View generates An ajax.fail error](https://wordpress.org/support/topic/bulk-edit-on-media-assistant-view-generates-an-ajax-fail-error/#post-9035723)
 * It would be great if you can activate the MLA Error tab or get the error log 
   information in some other way and then contact me so I can get the information
   from you. Let me know if you need any other details on how to do that. Thanks
   for your patience and persistence.
 *  Thread Starter [stbuchholz](https://wordpress.org/support/users/stbuchholz/)
 * (@stbuchholz)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9307297)
 * Hallo David,
    vielen Dank für Deine Hilfe. Hier die debug.log:
 * Notice: Die verwendete Konstruktor-Methode für WP_Widget in VMenuWidget ist seit
   Version 4.3.0 **veraltet**! Verwende stattdessen
 *     ```
       __construct()
       ```
   
 * . in /var/www/vhosts/fpka.de/httpdocs/wp-includes/functions.php on line 3763
 * Notice: Die verwendete Konstruktor-Methode für WP_Widget in LoginWidget ist seit
   Version 4.3.0 **veraltet**! Verwende stattdessen
 *     ```
       __construct()
       ```
   
 * . in /var/www/vhosts/fpka.de/httpdocs/wp-includes/functions.php on line 3763
   [
   11-Jul-2017 05:38:13] PHP Notice: Die verwendete Konstruktor-Methode für WP_Widget
   in VMenuWidget ist seit Version 4.3.0 **veraltet**! Verwende stattdessen
 *     ```
       __construct()
       ```
   
 * . in /var/www/vhosts/fpka.de/httpdocs/wp-includes/functions.php on line 3763
    -  This reply was modified 8 years, 10 months ago by [stbuchholz](https://wordpress.org/support/users/stbuchholz/).
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9313277)
 * Thank you for taking the time to activate the debug tab and post some of the 
   messages in your error log.
 * The messages you have posted are not coming directly from MLA. It looks like 
   you are using another plugin to add Login and Menu widgets to your site; is that
   right?
 * I do not think these messages have anything to do with the MLA problems you are
   having, unless you are trying to put the `[mla_gallery]` shortcode in one of 
   these widgets, which seems unlikely.
 * If you are using the MLA Settings/Debug tab, can you take these steps:
    1. Go to the Settings/Media library Assistant Debug tab
    2. Click “Reset” below the Error Log text area to clear out the log
    3. Run some tests that cause the error. In other words, visit the page(s) with [
       mla_gallery] shortcodes that do not work
    4. Go back to the Settings/Media library Assistant Debug tab
    5. Click “Download” below the Error Log text area to get a complete copy of the
       error log file
    6. Send me the file
 * It would also be good to see a list of the other plugins you are running on your
   site, and your theme.
 * Finally, can you answer the questions in my last post?
 * > You wrote “The wizard can be seen.” MLA does not have any “wizards”; does this
   > mean you see the “Assistant” submenu item in the Media admin section and can
   > access the Media/Assistant screen? Do you see the “Media Library Assistant”
   > submenu in the “Settings” admin section?
 * Thanks for any additional information you can provide.
 *  Thread Starter [stbuchholz](https://wordpress.org/support/users/stbuchholz/)
 * (@stbuchholz)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9342231)
 * Hello David, sorry that I am only now again, I was on duty travel.
 * Here is the probably interesting part of debug.log
 * Maybe you can help me now.
 * Thanks in advance
 * [22-Jul-2017 09:05:33] 50 MLA_Ajax::mla_admin_init_action( true ) $_REQUEST =
   array (
    ‘action’ => ‘oembed-cache’, ‘post’ => ‘1307’,
 * [22-Jul-2017 09:05:49] 50 MLA_Ajax::mla_admin_init_action( true ) $_REQUEST =
   array (
    ‘action’ => ‘wp-remove-post-lock’, ‘_wpnonce’ => ‘0d97e7beaa’, ‘post_ID’
   => ‘1307’, ‘active_post_lock’ => ‘1500714348:1’,
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9343257)
 * Welcome back! Thanks for your update and the log messages.
 * The two messages you posted above are not from MLA. The ‘oembed-cache’ and ‘wp-
   remove-post-lock’ actions look like they are generated from WordPress as you 
   edit a post/page.
 * It would be very helpful if you can confirm that you are using `[mla_gallery]`
   in the content of a post/page and show me the full source text of the post/page.
   Then, can you follow the steps I gave in my most recent post and answer the questions
   I asked in my post?
 * Thanks for your patience and persistence!
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9463539)
 * It has been over a month since my last post in this topic. I assume you have 
   found a solution to the problem.
 * I am marking this topic resolved, but please update it if there is anything else
   I can do to help.

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

The topic ‘[mla_gallery] shortcode – it does not work’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/mla_gallery-shortcode-it-does-not-work/#post-9463539)
 * Status: resolved