Geen omschrijving

author-bio.php 793B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * The template for displaying Author info
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Nineteen
  7. * @since Twenty Nineteen 1.0
  8. */
  9. if ( (bool) get_the_author_meta( 'description' ) ) : ?>
  10. <div class="author-bio">
  11. <h2 class="author-title">
  12. <span class="author-heading">
  13. <?php
  14. printf(
  15. /* translators: %s: Post author. */
  16. __( 'Published by %s', 'twentynineteen' ),
  17. esc_html( get_the_author() )
  18. );
  19. ?>
  20. </span>
  21. </h2>
  22. <p class="author-description">
  23. <?php the_author_meta( 'description' ); ?>
  24. <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
  25. <?php _e( 'View more posts', 'twentynineteen' ); ?>
  26. </a>
  27. </p><!-- .author-description -->
  28. </div><!-- .author-bio -->
  29. <?php endif; ?>