Viewing 3 replies - 1 through 3 (of 3 total)
  • I hope I am interpreting your question correctly. Are you referring to the length of a post excerpt, where it is usually followed by a “read more..” ?

    I believe you can add a filter to your themes functions file to customize the length of your excerpts.

    Reference: Control Excerpt Length using Filters

    Thread Starter noromay

    (@noromay)

    You interpreting right ). using this filter? should i instead “new_excerpt_length” put nubmer of words?

    Actually, I think if you use this as it is;

    function new_excerpt_length($length) {
    return 20;
    }
    add_filter(‘excerpt_length’, ‘new_excerpt_length’);

    …and just replace “20” with the number of words you would like to show, I think that will work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘120 words in a post preview’ is closed to new replies.