title: short code not working in wordpress text editor
body: <p>I wanted to add shortcode from the text editor of wordpress post.I have added following short code in the post of wordpress:</p>
  
  <p><code>&lt;img alt="" src="[template_url]/images/ic_sol_1a.png" /&gt;</code></p>
  
  <p>Here <code>[template_url]</code> is the shortcode i wanted to use it was not working. when i see it in the post page it render the text not the short code response. Somewhere i saw a solutions like adding following line to functions.php of theme:</p>
  
  <p><code>add_filter( 'widget_text', 'shortcode_unautop');</code> </p>
  
  <p><code>add_filter( 'widget_text', 'do_shortcode');</code></p>
  
  <p>But still after adding these lines i am unable to make shortcode work. What could be the possible reason?</p>
  
  <p>my shortcode function is like this:</p>
  
  <pre><code>function my_template_url() {
    return get_bloginfo('template_url'); 
  }
  add_shortcode("template_url", "my_template_url");
  </code></pre>