/ Published in: PHP
                    
                                        
Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
// add excerpt to pages
add_post_type_support( 'page', 'excerpt' );
Comments
 Subscribe to comments
                    Subscribe to comments
                
                