- This code for Search Result Page WordPress
- Extract the zip file
- API YouTube code in file php-yt.php, put it in search.php
- Put fancymedia folder in root theme and call them in header.php
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/fancymedia/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/fancymedia/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/fancymedia/jquery.fancybox-media.js"></script>
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_url' ); ?>/fancymedia/jquery.fancybox.css" media="screen" />
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/fancymedia/fb.setting.js"></script>