Tagged: excerpt
Hi
I’m having difficulties with two aspects of blog layout.
Firstly in the theme options is there a way to set the standard blog layout to display Excerpt by defaul, instead of the whole post? I’d like to do that here if possible.
And secondly, since I can’t do it here I could choose to use the Blog Posts element in the layout editor. But why can I here not choose the standard designs (Business or Elegant) or choose All Categories as a default for which posts to show?
Hope you can help. Am I missing something? To have these fixed in both places would be wonderful.
Cheers
… Ken
Hi,
Blog Styling (business/elegant) is a wide-site setting that affects all Blog element instances through the site. Regarding forcing post excerpt you could add this snippet in theme / child theme functions.php
:
function change_blog_archive_style() {
global $avia_config;
if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; }
}
add_action('get_header', 'change_blog_archive_style');
Regards,
Josue