Expose Theme Read More Lenght

Community Forums Forums Design Tips and Tricks Expose Theme Read More Lenght

This topic is: resolved

This topic contains 2 replies, has 1 voice, and was last updated by  fabio8181 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22407

    fabio8181
    Participant
    Post count: 6

    Hi

     

    Im still learning but cant find a solution for this.

     

    I want that my site looks like http://demo.studiopress.com/expose/

    But how can u limit the read more lenght text ? on the demo its 3 rows and then you have to click, on my site, its 9 rows :(

     

    thanks

     

    #22409

    fabio8181
    Participant
    Post count: 6

    /** Modify the length of post excerpts */
    add_filter( 'excerpt_length', 'custom_excerpt_length' );
    function custom_excerpt_length($length) {
        return 50; // pull first 50 words
    }

     

    tryed this but didnt work

    #22411

    fabio8181
    Participant
    Post count: 6

    /** Change the length of post excerpts in Genesis */
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’ );
    function custom_excerpt_length($length) {
    return 60; // Displays first 60 words
    }

    work

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

You must be logged in to reply to this topic.