Update video thumb for article created without featured video

Posted in: Newspaper
Post count: 1

I think you should update function “function on_save_post_get_video_thumb” in file td_video_support.php to support update video thumb in case of editor forgot or change article featured video.
I made change for this function like:
In the block code:

if (!empty($td_post_video['td_last_video']) and $td_post_video['td_last_video'] == $td_post_video['td_video']) {
//we did not update the url
return;
}

I modified to:


if (!empty($td_post_video['td_last_video']) and $td_post_video['td_last_video'] == $td_post_video['td_video']) {
//we did not update the url
if(has_post_thumbnail($post_id)){
return;
}
}

Could you help me to update this small change to your theme, so I don’t need to care about it every-time I get new update.

Thanks,
/Bien Tran

Post count: 28

Hey Blen, copy the updated php file in Child theme. You don’t worry about updating it every time you upgrade theme.

Post count: 22421

Hi,
Unfortunately td_video_support.php will not work from the child theme as the entire wp-booster folder won’t. Sorry. I will add this request to our list and pass this information onto the development team.
Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.