Include any file

This snippet let’s you include any file you want to without having to print out the whole url yourself. Add this where you want to include the file.

Code Snippet:

<?php get_template_part( 'filename' ); ?>

Posted in Pure hacks