Last Updated: February 25, 2016
·
686
· rajeshkhatri13

Wordpress Tips

<h1>Directory level path</h1>

<?php echo getbloginfo('templatedirectory');?>/images/logo.png</pre></code>

<h1>Link in template page</h1>

<a href="<?php echo get_permalink(9); ?>">Page link by id</a></pre></code>