How can I do this without having “Should the first entry be displayed bigger” activated?
In other words, how can I show excerpts for all ‘magazine’ posts without the first entry displayed bigger? As if “Should the first entry be displayed bigger” were toggled off.
Thanks!
Hi Ti7V!
Try to replace this code in enfold/config-templatebuilder/avia-shortcodes/magazine.php:
if($style == 'small')
{
if(empty($this->atts['thumbnails']))
{
$image = "";
$extraClass = "av-magazine-no-thumb";
}
}
else
{
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
}
with:
if($style == 'small')
{
if(empty($this->atts['thumbnails']))
{
$image = "";
$extraClass = "av-magazine-no-thumb";
}
}
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
Best regards,
Peter
Yup Peter,
That worked. “Should the first entry be displayed bigger” toggled off and showing excerpt using code from:
https://kriesi.at/support/topic/show-excerpt-in-all-magazine-blog-list/
Thanks again! Very pleased with Kriesi support :)