Adding text below video on using fancybox-youtube class
-
Adding text below video on using fancybox-youtube class. eg:
<?php for ($i = 1; $i <= 25; $i++) { $mylink = $wpdb->get_row("SELECT * FROM mostviewedtoday WHERE rank = $i"); echo "<div class=\"image-contain\">"; echo "<div class=\"image-box\"><a fancybox-title=\"{$mylink->video_title}\" class=\"fancybox-youtube\" href=\"https://www.youtube.com/watch?v={$mylink->video_id}\"><img style=\"border:0;\" src=\"{$mylink->video_thumb}\" width=\"120\" height=\"120\"></a>"; echo "<a class=\"overlay-rank\">{$mylink->rank}</a></div></div>"; } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding text below video on using fancybox-youtube class’ is closed to new replies.