Hello for our needs I have to enhance the function of the widget post-carousel.
The post thumbnail alternate-text is in our system the Headline of the posts.
Therefore I extract this line and replace the Headline of the posts, if the alt- text is not empty.
then, additional the excerpt of the post was needed. I put this information behind the headline.
All this needs to update the file:
/wp-content/plugins/so-widgets-bundle/widgets/post-carousel/tpl/carousel-post-loop.php
Here are the new data:
have_posts()) : $posts->the_post(); ?>
<li class="sow-carousel-item”>
<a href="” style=”background-image: url()”>
<a href="” class=”sow-carousel-default-thumbnail”>
<a href="”>