From bf695fb3d9dfa41addd46dd1a63d1eb35d903ada Mon Sep 17 00:00:00 2001 From: Stefan Bohacek Date: Fri, 19 Jul 2019 07:13:05 -0400 Subject: [PATCH] Minor layout updates on team and author pages. --- author.php | 56 ++++++++++++++++++++---------------------- template-team-page.php | 13 +++------- 2 files changed, 30 insertions(+), 39 deletions(-) diff --git a/author.php b/author.php index f7ef085..9ebac3d 100644 --- a/author.php +++ b/author.php @@ -187,43 +187,38 @@ ' ' . ' ' . '
' . - '
' . $bot_title . '
' . + '
' . + ' ' . $bot_title . '' . + '
' . '

' . $bot_description . '

' . '
' . - ' ' . ' ' . ''; } } $bot_list_html .= ''; - - $bot_list_html .= ''; echo $bot_list_html; - ?> + +

Bot tags

+

' . $tag . ' '; + } + echo join( ' ', $author_tags_bots_html ); + ?>

+ View all bots - -

' . $tag . ' '; - } - - echo join( ' ', $author_tags_bots_html ); - ?>

- + 'resource', - 'posts_per_page' => '5', + 'posts_per_page' => '6', 'author' => $author_id, 'post_status' => 'publish', 'orderby' => 'publish_date', @@ -247,16 +242,19 @@ get_template_part('loop'); ?> - View all resources -

' . $tag . ' '; - } + +

Resource tags

+

' . $tag . ' '; + } - echo join( ' ', $author_tags_resources_html ); - ?>

- + echo join( ' ', $author_tags_resources_html ); + ?>

+ + View all resources + diff --git a/template-team-page.php b/template-team-page.php index f65f05d..6b3b95a 100644 --- a/template-team-page.php +++ b/template-team-page.php @@ -73,30 +73,23 @@ else{ $botwiki_team_role = "Botwiki contributor."; } - // $website_url = esc_attr( get_the_author_meta( 'user_url', $author_id ) ); // $twitter_handle = str_replace('@', '', esc_attr( get_the_author_meta( 'twitter-handle', $author_id ) ) ); - ?>
-
<?php echo $full_name; ?>
-
+
+ +

-
- - -