• Resolved matzeki

    (@matzeki)


    Hi,

    wondering if it’s possible to add multiple shortcodes of different sliders to one page – don’t seem to be able to do it.

    Thanks,
    Matthias

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    It is possible. You can add multiple shortcodes easily on your site.

    ? Add multiple shortcodes by clicking on the ‘Add New‘ button.
    ? Copy all the shortcodes and paste to your post, page, etc.

    Example:
    ? https://prnt.sc/nsn9p5
    ? https://prnt.sc/nsna61

    Hope the answer helps.
    Thank you.

    Thread Starter matzeki

    (@matzeki)

    Yes, thanks so what I figured is not possible to implement on one page is the same shortcode twice like this:

    [gallery id=01]
    [gallery id=01]
    [gallery id=02]

    In this case only the first gallery will show, nothing else. Is that a common behavior? And would there be any way to add the same shortcode twice on one page?

    Cheers

    Yeah, it is a common behavior of WordPress. You can’t use the same shortcode twice in a page/post. The first shortcode will work and the other won’t. As the markup can’t work with an ID twice in a page.

    To overcome this issue, we have added the ID system for different shortcodes to use multiple carousels in one post/page. When you create a new shortcode or duplicate a shortcode, it generates a different ID for the new shortcode.

    Feel free to share your experience with the plugin in the review section.
    Thank you.

    Thread Starter matzeki

    (@matzeki)

    Good workaround – thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple shortcodes on one page’ is closed to new replies.