From 2cfd54a417ea4e65f962771e257d1774e4cb6fac Mon Sep 17 00:00:00 2001 From: Nathan DeGruchy Date: Wed, 12 Jan 2022 09:56:10 -0500 Subject: [PATCH] microformat updates --- functions.php | 18 ------------------ template-parts/post/author-bio.php | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/functions.php b/functions.php index 386e651..b145853 100644 --- a/functions.php +++ b/functions.php @@ -255,24 +255,6 @@ echo ''; } - /** - * Prints HTML with meta information about theme author. - * - * @since Twenty Twenty-One 1.0 - * - * @return void - */ - function twenty_twenty_one_posted_by() { - if ( ! get_the_author_meta( 'description' ) && post_type_supports( get_post_type(), 'author' ) ) { - echo ''; - printf( - /* translators: %s: Author name. */ - esc_html__( 'By %s', 'twentytwentyone' ), - '' - ); - echo ''; - } - } add_filter( 'twenty_twenty_one_social_icons_map', 'degruchy_twenty_twenty_one_social_icons_map' ); add_filter( 'twenty_twenty_one_svg_icons_social', 'degruchy_twenty_twenty_one_svg_icons_social' ); add_filter( 'get_the_archive_title', 'degruchy_org_disable_archive_prefix' ); diff --git a/template-parts/post/author-bio.php b/template-parts/post/author-bio.php index 0aac23c..76bd406 100644 --- a/template-parts/post/author-bio.php +++ b/template-parts/post/author-bio.php @@ -13,7 +13,7 @@ $avatarargs = array( ?> -
+