How to call the_author_description(); for a specific author ID
-
Hello all,
I would like to set up a page on my blog that has descriptive bios for each author. I’d like it to call the <?php the_author_description(); ?> for each person, like so:
Author 1: <?php the_author_description(); *for author 1* ?>
Author 2: <?php the_author_description(); *for author 2* ?>
Author 3: <?php the_author_description(); *for author 3* ?>
How can I write the php so that I can specify which the_author_description I want based on author ID? Unfortunately *for author 1* doesn’t work ;).
I already have the “running php in a page” problem sorted out. I’m successfully using runPHP to call my own bio (<?php the_author_description(); ?> works great automatically for the actual author of the page).
Here’s the author page in question: https://purplepapaya.net/etsy/editors/
PS: I looked at https://codex.www.ads-software.com/Author_Templates, but I’m just not smart enough to go from there to where I need to be.
- The topic ‘How to call the_author_description(); for a specific author ID’ is closed to new replies.