Skip to content

Instantly share code, notes, and snippets.

@chered
Created July 29, 2020 05:27
Show Gist options
  • Save chered/0146a7d3fb8323e4e7de8d706aa95900 to your computer and use it in GitHub Desktop.
Save chered/0146a7d3fb8323e4e7de8d706aa95900 to your computer and use it in GitHub Desktop.
wordpress - first and last name author display plus date
<div class="r-author"><?php the_author_meta( 'user_firstname', $userID ); ?>&nbsp;<?php the_author_meta( 'user_lastname', $userID ); ?>&nbsp;-&nbsp;<?php the_date(); ?> </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment