title: How to get template Link in wordpress?
body: <p>If I create template-portfolio, how do I get the link of this template? Like:</p>
  
  <pre><code>&lt;a href="&lt;?php the_link"&gt; View portfolios &lt;/a&gt;
  </code></pre>
  
  <p>What would be the function or link here?</p>