Display author box using php function
-
first of all thanks for the awesome plugin,,
sorry for silly question, i’m a newbie and i want to ask: how to display author box using php code? before i’ve tried using this code:<?php $user_ID = get_current_user_id(); ?> <?php echo do_shortcode('[wpautbox authorid="'. $user_ID .'"]' ); ?>but that code display (as a string) :
[wpautbox authorid="1"]the above code doesn’t show author box just like using Author Box Lite > Display Setting. So, how to do that?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Display author box using php function’ is closed to new replies.