Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #661381

    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?

    #661383

    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

    #661390

    Awesome, thanks

    ps. Editing functions.php would not be update proof so i’m using a plugin for that instead ;)

    #661391

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.