[resolved] How can I change the number of characters on the post excerpts (5 posts)

  1. metheny
    Posted 3 years ago #

    How can I change the number of characters on the post excerpts?
    I did read that a filter to functions.php. needs to be added …can someone tell me how this is done?
    I copied and added this to functions.php file but nothing happened…..What steps did I miss…

    function custom_excerpt_length( $length ) {
    return 20;
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

  2. Devin Price
    Theme Author

    Posted 3 years ago #

    The latest version changes this from the_excerpt to the_content- so that full content will show. You can now use the "More" button to choose where the cutoff happens.

  3. metheny
    Posted 3 years ago #


    Thank You So Much

    This is a great theme.

    It looks awesome in mobile devices also.

  4. mikespics1
    Posted 3 years ago #


    I've got a similar problem that I'd like help with.

    Basically I want to have additional images in my posts, but I only want the featured image to be visible when you visit the home page.
    So you'd only see the featured image and text - not any other images in my posts.

    Right now other images in my posts are visible on the home page which doesn't look so good (in my opinion)

    I'm new to wordpress, so any help or pointers in the right direction would be much appreciated!

    Here is a my blog - http://www.mikespics.co.za/

    PS - love the visual theme! Thanks a lot Devin!

  5. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    @mikespics1, You can create your own thread to discuss that.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic