Return to Snippet

Revision: 11158
at January 26, 2009 17:44 by kristarella


Initial Code
function video_box() { ?>
	<div class="sidebar_box">
		<div id="video_box">
			<object width="280" height="227"><param name="movie" value="http://www.youtube.com/v/ve5GFmUYUps&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ve5GFmUYUps&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="280" height="227"></embed></object>
		</div>
	</div>
<?php }
add_action('thesis_hook_after_multimedia_box', 'video_box');

Initial URL

                                

Initial Description
Use with (in custom.css) .sidebar_box {margin-bottom:2em; text-align:center;}

You may have to adjust the width for your sidebars.

Initial Title
Create extra video box in Thesis sidebar

Initial Tags
wordpress, video

Initial Language
PHP