Title: Problem rendering shortcode in template
Last modified: July 16, 2025

---

# Problem rendering shortcode in template

 *  Resolved [Ravi B](https://wordpress.org/support/users/ravibee/)
 * (@ravibee)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/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)

 *  Thread Starter [Ravi B](https://wordpress.org/support/users/ravibee/)
 * (@ravibee)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/problem-rendering-shortcode-in-template/#post-18557201)
 * I solved the problem by doing the following:
    1. In “General Settings”, check Posts (only)
    2. In “Read Time” uncheck Single Post, Home and Archive Page
    3. In “Progress Bar”, set Display Position to Top (or Bottom)
    4. Remove shortcode from specific post
    5. Add short code to post’s template
 * I’m now able to see the reading time AND progress bar only on all posts that 
   use the specific template.
 *  [Aradhy Singh](https://wordpress.org/support/users/bsfaradhy/)
 * (@bsfaradhy)
 * [10 months ago](https://wordpress.org/support/topic/problem-rendering-shortcode-in-template/#post-18564416)
 * Hi [@ravibee](https://wordpress.org/support/users/ravibee/),
 * Thank you for the update! I’m glad to know you were able to figure it out.
 * Don’t hesitate to reach out if you need any further assistance in the future.
 * Best regards,
    Aradhy 😊

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem rendering shortcode in template’ is closed to new replies.

 * ![](https://ps.w.org/read-meter/assets/icon.svg?rev=2822692)
 * [Read Meter - Reading Time & Progress Bar](https://wordpress.org/plugins/read-meter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/read-meter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/read-meter/)
 * [Active Topics](https://wordpress.org/support/plugin/read-meter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/read-meter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/read-meter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Aradhy Singh](https://wordpress.org/support/users/bsfaradhy/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/problem-rendering-shortcode-in-template/#post-18564416)
 * Status: resolved