• Hi. I am trying to display the user photo inside the div containing the_author_meta(‘description’). I tried:

    <div style='float:right;">
    <?php userphoto_the_author_photo(); ?>
    </div>

    and

    <?php userphoto_the_author_photo('<div style='float:right;">','</div>'); ?>

    and even

    <?php userphoto_the_author_photo('','',array(style => 'float:right')); ?>

    They all produce the same thing: the IMG tag with none of the styling. So the image appears on the left of the first line of the text.

    What am I doing wrong?

    https://wordpress.org/plugins/user-photo/

  • The topic ‘Having trouble displaying photo’ is closed to new replies.