get author wp code example
Example 1: wp get author description
<?php echo the_author_meta('description'); ?>
Example 2: wpapi get post by author
wp.pages().slug( 'about' )...
wp.posts().author( 42 )...
wp.posts().status( 'trash' )...
wp.posts().status([ 'draft', 'future' ])...
wp.categories().search( 'news' )...
wp.posts().before( '2013-04-01T00:00:00.000Z' ).after( new Date( 'March 01, 2013' ) )...
wp.posts().sticky( true )...
wp.posts().sticky( false )...
wp.posts().id( 2501 ).password( 'correct horse battery staple' )...