What I like about this plugin is that it uses the native WP [gallery] functionality: easy UI for users.
However, in my attempt to further simplify the UI, I am using post-formats. In my content-gallery.php post-format template I am using php to auto-insert the shortcode:
<?php echo do_shortcode( '[gallery link="file" columns="3"]' ); ?>
The issue is that your plugin uses PHP to add necessary markup to the
<a>tag by parsing the_content, rather than applying to all [gallery] shortcodes. So my thumbnail links aren’t launching the Galleria.
Can you provide an update or filter that would add the necessary markup to all occurrences of the shortcode, regardless of it being found in the_content?
- The topic ‘Using shortcode in post format template’ is closed to new replies.