Hi! I would like to change the excerpt length of both the Masonry blog and regular blog layout… can you help? thanks!
I tried adding
function custom_excerpt_length( $length ) {
return 20;
}
add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );
to no avail.
I too was searching for a way to change the excerpt length on the Masonry blog.. Probably it is a really simple change of code again :P
Hi!
Thank you for using the theme!
You can add this on functions.php, at the bottom:
add_filter('avf_masonry_excerpt_length','avia_change_masonry_excerpt_length', 10, 1);
function avia_change_masonry_excerpt_length($length)
{
$length = 100;
return $length;
}
Change the $length value to something else. Default is 60. You also use the <!–more–> tag or specify the excerpt on Screen Options > Excerpt metabox.
Regards,
Ismael