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

    Hello people,

    In my website I have a page wich shows excerpts of the blog posts. I have chosen the option ‘Title and Excerpt + Read More Link’ and have set the size of the preview image to manually > No scaling.
    The excerpts are showing about 60 characters (round about ten words) but I want them to show more words. I’ve tried the Advanced Exerpt Plugin with no result. I’ve also tried the WordPress Dev Tip: How to Change the Default Excerpt Length wich had no result as well.

    Any tip on to increase the number of words in the excerpts?

    Kind regards,
    Erik

    #350082

    Hey Driekus!

    Please add following code to Functions.php file in Appearance > Editor and adjust as needed

    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
       $length = 100;
       return $length;
    }

    Regards,
    Yigit

    #350222

    Thank you Yigit. That worked.

    Regards,
    Erik

    #350255

    Hey!

    You are welcome, glad we could help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to increase lenght of excerpt?’ is closed to new replies.