Hello everybody,
we are using the blog layout „single-small“. I mean this layout with the little featured image on the left side and content on the right.
Our problem with this layout: different to the other layouts, the single small layout do not offers automatic excerpt with read more… if we do not use the <— more –> tag in the content, this layout displays the full article on the blog page.
Is there a solution to fix that? In which php file can we change that?
Thanks!
This setting is only for feeds….
Hi,
Are you referring to the archive blog pages? Please add this code in the functions.php file.
function get_header_mod_blog_excerpt() {
global $avia_config;
if( is_archive() ) { $avia_config['blog_content'] = "excerpt_read_more"; }
}
add_action('get_header', 'get_header_mod_blog_excerpt');
Best regards,
Ismael
