Blog lenght

Discussion in 'StartPoint Business One Page WordPress Theme' started by ulmanu, Nov 24, 2015.

  1. ulmanu

    ulmanu New Member

    Joined:
    Oct 16, 2015
    Messages:
    10
    Likes Received:
    0
    My page is: www.evojet.ro
    I want to increase the limit of 55 words for a summary of blog articles on the main page.
     
  2. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    Please follow the screenshot given below.
    Startpoint_excerpt_length.png

    For your knowledge, by default, excerpt length is set to 55 words. To change excerpt length using excerpt_length filter, add the following code to functions.php file in your theme, as I have also mentioned in screenshot:
    Code:
    function custom_excerpt_length( $length ) {
        return 20;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page