How Do I Embed a YouTube Gallery Directly into a WordPress Page Template?

You can embed your YouTube gallery directly into a template file by using the WordPress do_shortcode function:

<?php echo do_shortcode('[youtube-feed]'); ?>