title: How can I display estimated reading time in blog sidebar of wordpress?
body: <pre><code>    $item = get_post($id);
  
      $thumb = get_post_meta( $id, '_thumbnail_id', true );
      ?&gt;
  
          &lt;div class=&quot;post-img post-single-img&quot;&gt;&lt;?php echo wp_get_attachment_image($thumb, ''); ?&gt;
              &lt;div&gt;
                  &lt;span class=&quot;cat_name&quot;&gt;&lt;?= $cat; ?&gt;&lt;/span&gt;
                  &lt;h4&gt;&lt;?php echo esc_html(single_post_title()); ?&gt;&lt;/h4&gt;
                  &lt;span calss=&quot;time-reading&quot;&gt;
                      &lt;i class=&quot;fa fa-clock-o&quot;&gt;&lt;/i&gt;
                      &lt;?= do_shortcode('[rt_reading_time]') ?&gt;
                  &lt;/span&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
  
   &lt;?php endwhile;
   ?&gt;
  </code></pre>
    
  <p>Here I could add the reading time in single blog page
  but I couldn't find blog sidebar to add this short code.</p>