Is there a way to get a thumbnail for a post that has a external video linked. I have tried uploading an image and setting it as featured though the media panel. That process works fine for posts without the youtube video. Adding a second item under the slideshow did not work either.
newsbox widget post thumbnail
3 posts from 2 voices-
Posted 1 year ago #
-
Hey,
I'm sorry but a fallback image is not supported at the moment. However if you're familiar with css you can modify the widget class and include a fallback image or function with fetches additional featured images. The code can be found in propulsion\framework\php\class-framework-widgets.php :
$slides = avia_post_meta(get_the_ID(), 'slideshow'); if( $slides != "" && !empty( $slides[0]['slideshow_image'] ) ) { $image = avia_image_by_id($slides[0]['slideshow_image'], 'widget', 'image'); }Posted 1 year ago # -
In compat.php
line 20
delete_post_meta($post_id, '_thumbnail_id');
kills the featured image disallowing a fallback for the video file. I commented out this line, and I can now set a featured image so a thumbnail will appear when I'm using a video in the slideshow.
This does not appear to have adverse repercussions.Posted 1 year ago #
Reply
You must log in to post.














