wordpress shortcode php

the original wordpress shortcode is [video_id=XX width=640 height=480 anchor=YY]
and I want to add another variable to it? [video_id=XX width=640 height=480 anchor=YY description=This is a description]

So I added the new variable to the existing php:
[php]function vid_handler($atts)
{
extract(shortcode_atts(array(
‘video_id’ => ‘no video id specified’,
‘width’ => ‘no width specified’,
‘height’ => ‘no height specified’,
‘anchor’ => ‘no anchor specified’,
‘description’ => ‘no desc specified’,

), $atts));

[/php]

how can I set up the description so that it will show up in the html?..
[php]function wp_vid_lightbox_style()
{ $vid_lightbox_markup = ’






\ …}
[/php]
can I just put a

<?php echo $desc ?> inside one of the div tags? How can I set it up such that $desc is still defined.?

thanks!

Sponsor our Newsletter | Privacy Policy | Terms of Service