You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, but the do_shortcode version goes to an attachment page instead of using displaying with Simple Lightbox.
Browser(s) exhibiting problem (Firefox, Chrome, etc.): Using Chrome
Version of SLB Installed: 2.8.1
Other plugins installed: Only a couple of simple ones built by me. I don't think it's a plugin conflict because SLB works as expected in all other contexts beside do_shortcode.
The text was updated successfully, but these errors were encountered:
Description of Problem
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, but the do_shortcode version goes to an attachment page instead of using displaying with Simple Lightbox.
Any thoughts or ideas welcomed!
Thanks
Details
*login required: use simplelightbox/simplelightbox
The text was updated successfully, but these errors were encountered: