Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Обрезаем и в конец
- */
- function new_excerpt_length($length) {
- return 25;
- }
- add_filter('excerpt_length', 'new_excerpt_length');
- add_filter('excerpt_more', function($more) {
- return '...';
- });
- ?>
Add Comment
Please, Sign In to add comment