• Hi Eliot

    Working with images now – Gallery fields enabled and aware of the shortcodes in documentation but they do not display what I need –

    [content gallery="native"]
    [content gallery="carousel"]

    I am need to display images uploaded to gallery as a scrolling carousel with image links to lightbox. I am able to get the carousel/lightbox effect using shortcode from Short Codes Ultimate with the following:

    [su_carousel source="media: 116,12,95,15" link="lightbox"]

    I am wondering if there is a way to use Custom Content Shortcodes to display images like this. If not can a CC shortcode be used with the Short Codes Ultimate shortcode above to provide media id’s.

    Thank you

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    I see, yes, the documentation for this could be improved. There’s a way to pass a list of attachment IDs from the gallery field to another shortcode:

    [pass field="gallery"]
      [su_carousel source="media: {FIELD}" link="lightbox"]
    [/pass]

    I’m not sure about the “media: ” part, if the carousel shortcode needs it.

Viewing 1 replies (of 1 total)

The topic ‘Carousel to lightbox from Gallery Fields’ is closed to new replies.