Problem rendering shortcode in template
-
I want to show the reading time only on posts that use a specific template. When I add the [read_meter] shortcode to that template, it’s rendered only if the shortcode is ALSO added to the post, therefore causing a duplicate instance to be shown. In General Settings, I have both “Posts” and “Pages” unchecked.
Follow up:
In addition to wanting the shortcode to be rendered only on posts that use a specific template, I would also like the reading progress bar to be rendered on those posts. Is this possible?
Thanks very much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Problem rendering shortcode in template’ is closed to new replies.