wordpress snippets last updated   : July 14, 2014
we now have 634 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