/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
-----------------------------
Functions.php
-----------------------------
<?php function new_excerpt_length($length) {
return 8;
}
add_filter('excerpt_length', 'new_excerpt_length'); ?>
----------------------------------------
Functions.php > remove brackets on dots
----------------------------------------
function new_excerpt_more($more) {
return '[.....]';
}
add_filter('excerpt_more', 'new_excerpt_more');
Comments
 Subscribe to comments
                    Subscribe to comments
                
                