Tagged: 

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

    Hi. My customer asks, can i shorten the amount of letters WP/Enfold shows in ingress? They wan’t only few words not the entire section before READ MORE ;)

    #1474857

    Hey pikkuapuri,

    Thank you for the inquiry.

    Which blog layout is enabled? Please provide the link to the blog page so we can check it. You can try adding these filters to the functions.php file:

    function av_custom_excerpt_length($length) {
        return is_admin() ? $length : 20;
    }
    
    add_filter('excerpt_length', 'av_custom_excerpt_length');
    add_filter('avf_postgrid_excerpt_length', fn($length) => 60);
    

    Best regards,
    Ismael

    #1474874

    Thanks Ismael, did the trick!

    #1474897

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to adjust blog ingress mark amount?’ is closed to new replies.