Title: Shortcode parameters for slideshow
Last modified: June 13, 2019

---

# Shortcode parameters for slideshow

 *  Resolved [ratamatcat](https://wordpress.org/support/users/ratamatcat/)
 * (@ratamatcat)
 * [7 years ago](https://wordpress.org/support/topic/shortcode-parameters-for-slideshow/)
 * howdy,
 * My gallery display in conjunction with Photonic is showing the two images on 
   the page side by side instead of one image for a slideshow setup:
 * `[mla_gallery ids='4938,4937' mla_alt_shortcode=gallery type=default style=no-
   strip]`
 * also tried
 * `[mla_gallery ids='4938,4937' style=no-strip]`
 * as I’m not sure if I need the other two parameters or just `style` in order to
   activate the Photonic plugin.
 * `no-strip` should be showing a slideshow as per Photonic guideline.
 * Before I potentially start digging around in Photonic could you kindly confirm
   if this shortcode is having any problems.
 * Also I see variously that the quotes `'` and `"` or even no quotes are used with
   the parameters, so is there a particular requirement for the quotes or can I 
   leave them out.
 * For instance Photonic want `style='no-strip'` with their native gallery shortcode
   while in the MLA documentation it is written as `style=no-strip` for use with
   mla gallery shortcode. I am assuming then as mla gallery is what I am using can
   I omit all quotes, including for the ids i.e. `ids=4938,4937`
 * thanks,

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-parameters-for-slideshow/#post-11672127)
 * Thanks for your questions and for the details of the shortcodes you are trying
   out.
 * By default, the Photonic “slideshow” layouts show about three images in the one“
   row”, with navigation controls t move through the gallery. Your example only 
   has two images, so you are seeing both of the in the row.
 * You can get closer to what you want by adding `columns=1` to the shortcode. On
   my test system this shows one large image and just a bit of a second image. I
   guess that’s to give you a sense that there are additional images in the gallery.
 * Since the WordPress `[gallery]` shortcode accepts the `ids=` parameter there’s
   no need to complicate things by using the `[mla_gallery]` alternative. Try:
 *     ```
       [gallery ids='4938,4937' style=no-strip columns=1]
       ```
   
 * Either way, MLA has no role in composing the gallery/slideshow. All MLA does 
   is convert any data selection parameters, e.g., taxonomy term queries, to an `
   ids=` list and then hands off control to Photonic.
 * You noticed the variation in quotes around parameter values; either one will 
   work. WordPress requires quotes only when parameter values contain spaces for
   proper parsing.
 * I hope that gives you the information you need to accomplish your goal. I am 
   marking this topic resolved, but please update it if you have problems or further
   questions regarding the above suggestions. Thanks for your interest in the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode parameters for slideshow’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/shortcode-parameters-for-slideshow/#post-11672127)
 * Status: resolved