[Resolved] Help! How to use the [gallery] shortcode inside a theme template??
This is frustrating… I want to put the [gallery] shortcode in a Single Post (single.php) template for my posts so that if a gallery exists, it shows, and if it doesn’t then it doesn’t display.
But the BIG problem is that if I simply add [gallery] to a theme template, it is displayed as that text of [gallery] — I mean it shows no images because WordPress assumes that is just text I have written…
So my question is how do I add a gallery shortcode to a theme template of Single Post (single.php) so that it works??
- The topic ‘[Resolved] Help! How to use the [gallery] shortcode inside a theme template??’ is closed to new replies.