wp_link_pages( array
( 'before' => '<nav class="page-links" aria-label="' .
esc_attr__( 'Page', 'twentytwentyone'
) . '">',
'after' => '</nav>',
/* translators: %: Page number. */
'pagelink' =>
esc_html__( 'Page %', 'twentytwentyone'
),
) );
?>
</div><!-- .entry-content -->
<?php
if ( get_edit_post_link() ) : ?>
<footer class="entry-footer default-max-width">
<?php
edit_post_link( sprintf( /* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone'
),
'<span class="screen-reader-text">' .
get_the_title() . '</span>'
),
'<span class="edit-link">',
'</span>'
);