Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Move Vimeo or Youtube video after last image. Reply To: Move Vimeo or Youtube video after last image.

#100710

mitchoo
Participant

Thanks Cindy. Though you explained it very clear, I couldn’t get it done. Hopefully Anna’s team can find time to explain how to redefine the “if” condition/rules at line 46 and 74. We’ll wait patiently.

if($video_id!=”){
$has_video = 1;
$counter = 1;
$videoitem = ‘videoitem’;
if ($slider_size == ‘full’){
$videoitem = ‘videoitem_full’;
}

if( has_post_thumbnail() ){
$counter++;
$active=”;
if($counter==1 && $has_video!=1){
$active=” active “;
}else{
$active=” “;
}