diff --git a/inc/template-tags.php b/inc/template-tags.php index 641805a..ba1f463 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -65,7 +65,15 @@ function _s_entry_footer() { echo ''; } - edit_post_link( esc_html__( 'Edit', '_s' ), '', '' ); + edit_post_link( + sprintf( + /* translators: %s: Name of current post */ + esc_html__( 'Edit %s', '_s' ), + the_title( '"', '"', false ) + ), + '', + '' + ); } endif; diff --git a/template-parts/content-page.php b/template-parts/content-page.php index bdea86f..8244ca4 100644 --- a/template-parts/content-page.php +++ b/template-parts/content-page.php @@ -25,7 +25,17 @@