Ashley Cameron Design

Ashley Cameron Design

Custom Excerpt Length

SnippetsWordPress

About a 1 minute read

"Life is like riding a bicycle. To keep your balance, you must keep moving."

Albert Einstein


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