Create extra video box in Thesis sidebar


/ Published in: PHP
Save to your folder(s)

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

You may have to adjust the width for your sidebars.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.