wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

Template directory path

wordpress snippet

Adding this PHP code snippet to your wordpress theme will automatically generate the file path to your template directory.

snippet :  copy
<?php bloginfo('template_directory'); ?>
snippet :  copy
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js" /></script>

jqsnipp.com | we just launched jquery snippets website