Resolved (apparently).
Just postponed the part about the extraction of the title
—
if ( $show_post_title ) // To show the title of the post, or not…
{
echo ‘
‘;
the_title();
}
}
—-
after the part about the extraction of the featured image
—-
if ( $show_featured_image )
{
if ( has_post_thumbnail() )
{echo ”;
the_post_thumbnail( $size,
array(
‘class’ => ‘ak_featured_post_image align’.$image_align.’ ‘,
‘title’ => $image_title
)
);
}
—-
As you can see, I’ve put out the echo ‘
; over the picture putting it over the title to have more space between elements.
It works great, even I’m not sure it is all correct. If you can, delight me :D!
You can see the widget in action on my homepage http://www.80s.it
Hope to have been useful, thank you again,
Daniele