Hey guys.
I've noticed that the slider by default doesn't open video in itself. So I've changed the index.php file on the kriesi_post_thumb call ( line ~31 ) :
$preview_image = kriesi_post_thumb($post->ID, array('size'=> array($kimg['shortcut'],$kimg['overwrite']),
'display_link' => array('lightbox'), // linha alterada
'linkurl' => array ('fullscreen','_preview_big'), //linha adicionada
'wh' => $k_option['custom']['imgSize'][$kimg['shortcut']]
)
);
So now is displaying like a single page post (single.php). When a image on the slider is clicked, open a lightbox with the image/video set in the post.
But, I want to change it a little bit:
1) When it's a video link, play the video when clicked where the image is, like the Corona theme does.
2) If that isn't possible (what a shame), I want to when the slider image has not a video link, when click on the image, open the post page. With my solution, when I click on a image, opens a lightbox with the full size image clicked.
Many thanks














