Show Author Info even if there are no posts to show

author.php

You want to show the Author and their description but the author has no posts….

You can use get_queried_object()

 

Leave a Reply

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

40 − 38 =