Useful stuff for the Author.php page

Let’s pull lots of stuff about the Authors on the author.php page.

First we’ll see what author we are showing…

Then we can do lots of cool stuff.

Echo authors first name:

More parameters can be found here.

Show Advanced Custom Fields assigned to the Users:

Here’s another example of ACF Author info showing the Birthdate custom field:

Finally, how to show a custom taxonomy associated with a User.

This pulls the terms from the Custom Taxonomy, “profession” that is associated with the user. This example expands on a demo created by this smart guy on how to create Custom Taxonomies for Users. (note that he is missing his first add action in his example. you can figure out how to fix it in his comments section.)

Leave a Reply

Your email address will not be published. Required fields are marked *

− 2 = 3

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">