Feature blog item

Discussion in 'Forum Rules' started by danbcheney, Mar 18, 2013.

  1. danbcheney

    danbcheney New Member

    Joined:
    Feb 12, 2013
    Messages:
    13
    Likes Received:
    0
    How do we change the length of the text that displays on the bottom home page in the Feature Blog Item?

    URL: inform.danielcheney.com

    Thanks.

    Daniel
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello.

    For this go to the
    Appearance > Editor / front-page.php

    and change value shown in image given below.

    [​IMG]
     
  3. danbcheney

    danbcheney New Member

    Joined:
    Feb 12, 2013
    Messages:
    13
    Likes Received:
    0
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to functions.php present in your theme directory and add the code given below

    Code:
    function custom_excerpt_length( $length ) {
        return 200;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    Sending image for reference

    [​IMG]


    This will solve your issue.
     

Share This Page