Add below script where you want to add YouTube channel and change "channelIDonly.



<script src="https://apis.google.com/js/platform.js"></script><div class="youtubebtn"><div id="youtubeContainer"><div data-count="default" data-layout="default" class="g-ytsubscribe" data-channelid="channelID"></div></div></div>


Example -