Last active
          September 30, 2023 16:48 
        
      - 
      
- 
        Save zartgesotten/ef2613a5bd957fad8c6a0e30c650c781 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| /* Add excerpt to pages */ | |
| function add_excerpt_to_pages() { | |
| add_post_type_support( 'page', 'excerpt' ); | |
| } | |
| add_action( 'init', 'add_excerpt_to_pages' ); | |
| ?> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment