Ashley Cameron Design

Ashley Cameron Design

Custom Excerpt Length

SnippetsWordPress

About a 1 minute read

"This is the real secret of life — to be completely engaged with what you are doing in the here and now. And instead of calling it work, realize it is play."

Alan Watts


1
2
3
4
function my_excerpt_length($length) {
    return 65;
    }
add_filter('excerpt_length', 'my_excerpt_length');