Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #169278

    Can you tell me where I’d find the setting for the length of excerpt for the blog post widget in the layout builder?

    Thanks!

    #169503

    Hello Iano999!

    Default is 60, you can change it editing this file:

    /enfold/config-templatebuilder/avia-shortcodes/postslider.php (line 280):

    $prepare_excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_postgrid_excerpt_length' , 60) , apply_filters( 'avf_postgrid_excerpt_delimiter' , " "), "…", true, '');
    

    Simply change 60 for the desired amount, example:

    $prepare_excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_postgrid_excerpt_length' , 20) , apply_filters( 'avf_postgrid_excerpt_delimiter' , " "), "…", true, '');
    

    Best regards,
    Josue

    #169853

    Awesome, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Blog Post Excerpts’ is closed to new replies.