• Resolved stacef

    (@stacef)


    Hi there. I really like your plugin and it works flawlessly when I add a gallery to a post (custom post type). But I would like to include the gallery within the php template using do_shortcode. However, when I do, the plugin no longer works.

    In the post, I use [gallery columns="6" ids="56,74,55,54,53,52,51,50"]. In the page template, I use do_shortcode( ‘[gallery columns="6" ids="56,74,55,54,53,52,51,50"]‘ ). In both cases, the gallery displays without issue, html seems to be identical as does the location, but the do_shortcode version goes to an attachment page instead of using displaying with Simple Lightbox.

    Any thoughts or ideas welcome!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Use with do_shortcode’ is closed to new replies.