diff --git a/web/wp-content/themes/cncf-twenty-two/components/human-item.php b/web/wp-content/themes/cncf-twenty-two/components/human-item.php index 2b45a6228..d04b3bfe7 100644 --- a/web/wp-content/themes/cncf-twenty-two/components/human-item.php +++ b/web/wp-content/themes/cncf-twenty-two/components/human-item.php @@ -8,10 +8,12 @@ */ $post_url = get_post_meta( get_the_ID(), 'lf_human_post_url', true ); - if ( ! $post_url ) { $post_url = get_permalink(); } +$human_type = Lf_Utils::get_term_names( get_the_ID(), 'lf-human-type', true ); +$human_type_slug = Lf_Utils::get_term_slugs( get_the_ID(), 'lf-human-type', true ); + ?>
@@ -30,9 +32,27 @@ } ?> -

+
+ + + + + + +

+ + + +

+
+ diff --git a/web/wp-content/themes/cncf-twenty-two/source/scss/components/_human.scss b/web/wp-content/themes/cncf-twenty-two/source/scss/components/_human.scss index 1b2588f4b..7918d2cb1 100644 --- a/web/wp-content/themes/cncf-twenty-two/source/scss/components/_human.scss +++ b/web/wp-content/themes/cncf-twenty-two/source/scss/components/_human.scss @@ -24,16 +24,24 @@ &__title { font-size: 20px; line-height: 140%; - padding-top: 25px; + a { + color: $black; + } + a:hover { + text-decoration: none; + } + } + &__text-wrapper { + padding-top: 20px; padding-right: 25px; - margin-bottom: 40px; + margin-bottom: 30px; padding-left: 25px; - } - a { - color: $black; - } - a:hover { - text-decoration: none; + .author-category { + margin-bottom: 20px; + } + .author-category:hover { + text-decoration: none; + } } &__date { font-size: 12px;