hook on the_excerpt
You can write your three_dots function like this: function three_dots($excerpt) { // Append the dots to the existing excerpt. $excerpt .= ‘ […]’; return $excerpt; } add_filter(‘the_excerpt’, ‘three_dots’); About your ‘read more’ button, this usually isn’t handled by the excerpt itself but is instead added after the excerpt in your theme’s template files. If you’ve … Read more