diff --git a/404.php b/404.php index 1067ab0..8394be8 100644 --- a/404.php +++ b/404.php @@ -17,11 +17,11 @@
-

+

diff --git a/archive.php b/archive.php index 88703de..850be50 100644 --- a/archive.php +++ b/archive.php @@ -39,7 +39,7 @@ endwhile; // Previous/next page navigation. - twentynineteen_the_posts_navigation(); + gatepress_the_posts_navigation(); // If no content, include the "No posts found" template. else : diff --git a/classes/class-twentynineteen-svg-icons.php b/classes/class-twentynineteen-svg-icons.php index 16efb0a..e2dcfcd 100644 --- a/classes/class-twentynineteen-svg-icons.php +++ b/classes/class-twentynineteen-svg-icons.php @@ -19,7 +19,7 @@ * * @since 1.0.0 */ -class TwentyNineteen_SVG_Icons { +class gatepress_SVG_Icons { /** * Gets the SVG code for a given icon. diff --git a/classes/class-twentynineteen-walker-comment.php b/classes/class-twentynineteen-walker-comment.php index 6237a36..997a803 100644 --- a/classes/class-twentynineteen-walker-comment.php +++ b/classes/class-twentynineteen-walker-comment.php @@ -12,7 +12,7 @@ * * @since 1.0.0 */ -class TwentyNineteen_Walker_Comment extends Walker_Comment { +class gatepress_Walker_Comment extends Walker_Comment { /** * Outputs a comment in the HTML5 format. @@ -48,22 +48,22 @@ * Using the `check` icon instead of `check_circle`, since we can't add a * fill color to the inner check shape when in circle form. */ - if ( twentynineteen_is_comment_by_post_author( $comment ) ) { - printf( '', twentynineteen_get_icon_svg( 'check', 24 ) ); + if ( gatepress_is_comment_by_post_author( $comment ) ) { + printf( '', gatepress_get_icon_svg( 'check', 24 ) ); } /* * Using the `check` icon instead of `check_circle`, since we can't add a * fill color to the inner check shape when in circle form. */ - if ( twentynineteen_is_comment_by_post_author( $comment ) ) { - printf( '', twentynineteen_get_icon_svg( 'check', 24 ) ); + if ( gatepress_is_comment_by_post_author( $comment ) ) { + printf( '', gatepress_get_icon_svg( 'check', 24 ) ); } printf( /* translators: %s: comment author link */ wp_kses( - __( '%s says:', 'twentynineteen' ), + __( '%s says:', 'gatepress' ), array( 'span' => array( 'class' => array(), @@ -83,20 +83,20 @@ ' . $edit_comment_icon, '' ); + $edit_comment_icon = gatepress_get_icon_svg( 'edit', 16 ); + edit_comment_link( __( 'Edit', 'gatepress' ), ' ' . $edit_comment_icon, '' ); ?> comment_approved ) : ?> -

+

diff --git a/comments.php b/comments.php index d74c1cf..ca54fa8 100644 --- a/comments.php +++ b/comments.php @@ -21,7 +21,7 @@ return; } -$discussion = twentynineteen_get_discussion_data(); +$discussion = gatepress_get_discussion_data(); ?>
@@ -30,14 +30,14 @@ responses ) { /* translators: %s: post title */ - printf( _x( 'One reply on “%s”', 'comments title', 'twentynineteen' ), get_the_title() ); + printf( _x( 'One reply on “%s”', 'comments title', 'gatepress' ), get_the_title() ); } else { printf( /* translators: 1: number of comments, 2: post title */ @@ -46,7 +46,7 @@ '%1$s replies on “%2$s”', $discussion->responses, 'comments title', - 'twentynineteen' + 'gatepress' ), number_format_i18n( $discussion->responses ), get_the_title() @@ -67,7 +67,7 @@ // Show comment form at top if showing newest comments at the top. if ( comments_open() ) { - twentynineteen_comment_form( 'desc' ); + gatepress_comment_form( 'desc' ); } ?> @@ -75,8 +75,8 @@ new TwentyNineteen_Walker_Comment(), - 'avatar_size' => twentynineteen_get_avatar_size(), + 'walker' => new gatepress_Walker_Comment(), + 'avatar_size' => gatepress_get_avatar_size(), 'short_ping' => true, 'style' => 'ol', ) @@ -87,13 +87,13 @@ // Show comment navigation if ( have_comments() ) : - $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 ); - $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 ); - $comments_text = __( 'Comments', 'twentynineteen' ); + $prev_icon = gatepress_get_icon_svg( 'chevron_left', 22 ); + $next_icon = gatepress_get_icon_svg( 'chevron_right', 22 ); + $comments_text = __( 'Comments', 'gatepress' ); the_comments_navigation( array( - 'prev_text' => sprintf( '%s %s %s', $prev_icon, __( 'Previous', 'twentynineteen' ), __( 'Comments', 'twentynineteen' ) ), - 'next_text' => sprintf( '%s %s %s', __( 'Next', 'twentynineteen' ), __( 'Comments', 'twentynineteen' ), $next_icon ), + 'prev_text' => sprintf( '%s %s %s', $prev_icon, __( 'Previous', 'gatepress' ), __( 'Comments', 'gatepress' ) ), + 'next_text' => sprintf( '%s %s %s', __( 'Next', 'gatepress' ), __( 'Comments', 'gatepress' ), $next_icon ), ) ); endif; @@ -102,9 +102,9 @@ if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) : ?>
- - - + + +

- +

diff --git a/footer.php b/footer.php index 9864513..7e5d11d 100644 --- a/footer.php +++ b/footer.php @@ -22,10 +22,10 @@ , - + -