Posted By

kristarella on 01/26/09


Tagged

wordpress sidebar video thesis thesiswp


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

girliegeek
lilumi
joelhaus
motionmediasolutions
manavecplan
naeemnur


Create extra video box in Thesis sidebar


 / Published in: PHP
 

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

You may have to adjust the width for your sidebars.

  1. function video_box() { ?>
  2. <div class="sidebar_box">
  3. <div id="video_box">
  4. <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>
  5. </div>
  6. </div>
  7. <?php }
  8. add_action('thesis_hook_after_multimedia_box', 'video_box');

Report this snippet  

You need to login to post a comment.