Hi,
I'm very sorry, but I need again your help concerning custom/individual excerpts in CORONA - and I mean the individual, custom excerpt texts, that you can add in the field below the post editor field:

Currently I have in my functions.php this code, and in my index-loop.php this code:
<!-- if there is an individual excerpt, show it, otherwise do nothing -->
<?php if(!empty($post->post_excerpt)) {
echo '<div id="textauszug">';
the_excerpt();
echo '</div>';
} ?>
<?php
if(strpos($avia_config['layout'], 'medium_image sidebar') !== false) echo $slider->display_small('blog');
if(!is_single()){
the_excerpt(__('Read more ?','avia_framework'));
echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more →','avia_framework').'</a>';
}else{
the_content(__('Read more ?','avia_framework'));
}
This works fine on my frontpage (= created with a dynamic template), on other pages created with dynamic templates, where I grab 3 of the latest blog posts of a certain category for example - but using the "columns" element for grabbing the posts:

But:
I have created a dynamic template for a blog overview page; it shows a page's slideshow and intro text and then - as another dynamic template element - the "blog" element, grabbing 3 of the latest blog posts:

live:

So far, so good. The only thing is, that there - and only at this blog overview page (created with dynamic template) - my custom/individual excerpt is shown twice.
I have nearly no idea of PHP and most is done by try&error ;-)
So could you please help me out - I guess, something in the loop-index.php code is wrong, OR something needs to be added in another file, so that on such a dynamic template using the element "blog", the custom excerpt is only shown once, as it does on other normal pages using dynamic templates.
But I need to mention, that on the frontpage and other content pages, where grab blog posts, I use within the template builder the "columns" element! And for this - wrong - blog overview page, I use within the template builder the element "blog"!
Only at this page, the custom excerpt is shown twice:

On the frontpage and on other content pages, for which I used dynamic templates with COLUMNS to grab the posts, the custom excerpt is shown right - once a time:

Thanks, appreciate your help again concerning this subject.





















