Agnosia Bootstrap and do_shortcode
-
I’m working on a temnplate for use with a gallery post format. I’d like to use do_shortcode to present a gallery that is compatible with this plugin, but I can’t seem to get it to work. Here’s what I’ve tried:
<?php echo do_shortcode('[gallery type="carousel"]'); ?>
This will create the HTML for the gallery, but the image tags are missing. Incidentally, if I add the
ids
attribute to the gallery short tag, then it will work, but then I’d have to get the Id numbers every time, and I’m not sure how to do that.Does anybody have any ideas how to fix this?
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Agnosia Bootstrap and do_shortcode’ is closed to new replies.