Skip to main content
Removed space before semicolon
Source Link
Howdy_McGee
  • 20.8k
  • 24
  • 91
  • 175

Try

echo the_author_meta( 'nickname', $current_user->ID );

or you can also use;

$current_user = wp_get_current_user();
echo $current_user->nickname ;>nickname;

Try

echo the_author_meta( 'nickname', $current_user->ID );

or you can also use;

$current_user = wp_get_current_user();
echo $current_user->nickname ;

Try

echo the_author_meta( 'nickname', $current_user->ID );

or you can also use;

$current_user = wp_get_current_user();
echo $current_user->nickname;
deleted 19 characters in body
Source Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244

Try

<?php echo the_author_meta( 'nickname', $current_user->ID ); ?>

or you can also use;

<?php $current_user = wp_get_current_user();
echo $current_user->nickname ; ?> 

Try

<?php echo the_author_meta( 'nickname', $current_user->ID ); ?>

or you can also use;

<?php $current_user = wp_get_current_user();
echo $current_user->nickname ; ?> 

Try

echo the_author_meta( 'nickname', $current_user->ID );

or you can also use;

$current_user = wp_get_current_user();
echo $current_user->nickname ;
Source Link

Try

<?php echo the_author_meta( 'nickname', $current_user->ID ); ?>

or you can also use;

<?php $current_user = wp_get_current_user();
echo $current_user->nickname ; ?>