You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Adding Video to Sidebar

UserPost

11:39 pm
August 5, 2010


impresently

New Member

posts 2

1

I can't seem to figure out how to add a video to the top of my sidebar, without messing with up the other sidebar info.

When I place the video as a widget in the top sidebar it eliminates the other sidebars, which I expected.

So I am trying to eliminate the other sidebars now that appear automatically, namely the Recent Posts.

I can't seem to edit the code correctly to get rid of the Recent Posts box without causing an error.

 

Is there another way to have a video widget appear at the top of the sidebar?

 

 

7:34 am
August 6, 2010


Ryan

Admin

posts 1523

2

If you add a widget to the top sidebar, the default boxes will disappear.  But you can easily replicate them just by using widgets.  So you can add your video at the top, then add the recent comments widget below that.  There's no need to edit the PHP file to do it.

10:18 am
August 6, 2010


impresently

New Member

posts 2

3

Thanks.

I must have changed the code at some point, because when I pasted the original code back into sidebar.php everything looks great.