Tagged: Enfold Combo Widget
Hi,
finally pics schow up in the enfold combo widget, updating to 1.5 did the trick. But now they do not show as thumbnails, rather in full size. Any idea on how to solve this? Thanks in advance.
Cheers, Sebastian.
This will be fixed in the next version. Open up wp-contentthemesenfoldframeworkphpclass-framework-widgets.php and replace:
if(!$image && current_theme_supports( 'post-thumbnails' ))
{
$image = get_the_post_thumbnail( get_the_ID(), $image_size );
}
$time_format = apply_filters( 'avia_widget_time', get_option('date_format')." - ".get_option('time_format'), 'avia_get_post_list' );
with
if(!$image && current_theme_supports( 'post-thumbnails' ))
{
$image_size = isset($avia_config['widget_image_size']) ? $avia_config['widget_image_size'] : 'widget';
$image = get_the_post_thumbnail( get_the_ID(), $image_size );
}
$time_format = apply_filters( 'avia_widget_time', get_option('date_format')." - ".get_option('time_format'), 'avia_get_post_list' );
Great, thanks, Dude, that did the trick.
Cheers, Sebastian.