Last Updated: February 25, 2016
·
1.005K
· 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>

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Related Tags
#wordpress
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside