Shortcode in single template
-
Hi,
I can′t get this code working from my single template:
echo do_shortcode( ‘[gallery category="good-news"]‘ )
It displays all images attached to post, not good-news imagesAlso I try the shortcode directly in the post editor and it displays all images attached to post, not filtered images by term.
I try with custom taxonomies, but the same output, all images.
WordPress 3.5.1
Media Categories 1.5Thanks!
Luis
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode in single template’ is closed to new replies.