Hi can you advise on the appropriate function to increase the excerpt size to the masonry layout?
Hey brandaspect,
Thank you for using Enfold.
This filter should increase the excerpt length.
add_filter('avf_masonry_excerpt_length','avia_change_masonry_excerpt_length', 10, 1);
function avia_change_masonry_excerpt_length($length)
{
$length = 200;
return $length;
}
Default value is 60.
Best regards,
Ismael
Thank you Ismail, that worked great, It might be worth considering adding a box in the editor in order to make it easier for people to customize.
your help is greatly appreciated
Hi,
You’re welcome!
That can be a good option but I don’t think we can make a specific option for every minute details without making the theme bloated. Anyway, you can still ask for it in the requests page. And please feel free to open a new thread if you need anything else. :)
Best regards,
Ismael
Hi,
You’re welcome!
That can be a good option but I don’t think we can make a specific option for every minute details without making the theme bloated. Anyway, you can still ask for it in the requests page. And please feel free to open a new thread if you need anything else. :)
Best regards,
Ismael