Welcome to PressWork!

Want to ask a question or join the discussion? Great! Join now.

In this Discussion

Increasing size of excerpts on home page
  • How do I increase the size of the excerpts on the homepage? I would like to publish about two paragraphs of content and then present the "read more" link.
  • The excerpt length is a function of the Wordpress core. It is set by default to 55 words. Cou can alter the default by increasing (or reducing) the number of words other than 55 but I'm not sure you could do it on a paragraph basis, because paragraphs do have different lengths.

    To modify the number of words you'll have to edit the functions.php file. http://codex.wordpress.org/Theme_Development#Functions_File
    and write something like this :
    function custom_excerpt_length( $length ) {
    return 120;
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

    replace 120 with whatever length that suits you best.
    image PressWork Support Moderator
  • Thanks...!

    Maybe I was meaning the size of the post and not actually the excerpt. Are they the same?

    - Thanks
  • Is there a specific place where I need to put this? as the excerpt size remains the same.