Hi,
I use this snippet to extend the excerpt lenght for post grid:
add_filter('avf_postgrid_excerpt_length','avf_increase_postgrid_excerpt_length', 10, 1);
function avf_increase_postgrid_excerpt_length($prepare_excerpt) { return 400; }
What would be the code for the accordeon slider with blog items?
Hi mikehenze!
Please add following code to Functions.php file in Appearance > Editor
add_filter( 'avf_aviaccordion_excerpt_length', 'slider_excerpt_length');
function slider_excerpt_length() {
$excerpt = 200;
return $excerpt;
}
Best regards,
Yigit
Awesome, thanks
ps. Editing functions.php would not be update proof so i’m using a plugin for that instead ;)
Hi!
You can use a child theme to avoid having it overwritten when you update the theme – http://kriesi.at/documentation/enfold/using-a-child-theme/
Regards,
Yigit