Ashley Cameron Design

Ashley Cameron Design

Custom Excerpt Length

SnippetsWordPress

About a 1 minute read

"We cannot solve our problems with the same thinking we used when we created them."

Albert Einstein


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