Making the excerpt field visible on the page editor

Just as in the case with page order and posts, the excerpt field is “valid” for pages but not visible in the editor by default. Here is the block of code for your functions file that will expose the excerpt field to editing for pages in the gutenberg editor:

// MAKING EXCERPT FIELD VISIBLE IN PAGE EDITOR: https://wordpress.stackexchange.com/questions/325327/allow-excerpt-for-pages-in-gutenberg

add_action( 'init', 'wpse325327_add_excerpts_to_pages' );
function wpse325327_add_excerpts_to_pages() {
    add_post_type_support( 'page', 'excerpt' );
}

the specific application here was to expose the field so that it may be use to craft excerpts for pages found in search results