Excerp

  • lalamums

    #6577

    Hello!

    I have made an static homepage with a welcome page and under i have latest posts with featured images..

    My question is, how do I change the words in the excerp?

    I want it to be like 40 words in the excerp

    Anonymous

    #34918

    Add this to child-theme‘s functions.php file. If your child-theme’s functions.php file is empty, add the below code after <?php

    function custom_homepage_panes_excerpt_length(){
    graphene_set_excerpt_length( 40 );
    }
    add_action('graphene_before_homepage_panes', 'custom_homepage_panes_excerpt_length');

    lalamums

    #34919

    Thank you so much, you are so good!

    I wish I could learn everything u can, you make it so simply..

    Anonymous

    #34920

    You are welcome!

    Marking thread as resolved. You can do this yourself as well.

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

  • You must be logged in to reply to this topic.