Có thể bạn quan tâm
- Tùy biến trang đăng nhập wordpress: login_headerurl and login_headertitle
- Thay đổi kích thước ảnh thumbnail trong wordpress gallery
- Dùng phím mũi tên để next và prev post trong wordpress
- Chèn code vào trước và sau nội dung bài viết trong wordpress
- Hiển thị các bài viết trong cùng serial không dùng plugin
Thêm đoạn text sau vào file function.php
function custom_excerpt_length( $length ) { return 85; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); function new_excerpt_more( $more ) { return ' ...'; } add_filter('excerpt_more', 'new_excerpt_more');
Bạn thay số 85 và … thành độ dài bạn muốn
- Bình luận