How to embed a YouTube gallery straight into a theme template file using the do_shortcode function, and where to find your shortcode.
Version 2.0
You can embed your YouTube gallery directly into a template file by using the WordPress do_shortcode function:
<?php echo do_shortcode('[[youtube-feed feed=1]]'); ?>
To get the correct shortcode for your feed(s), navigate to Feeds for YouTube > All Feeds.
Version 1.x
You can embed your YouTube gallery directly into a template file by using the WordPress do_shortcode function:
<?php echo do_shortcode('[[youtube-feed]]'); ?>
