[Plugin: User Photo] Help with coding
-
I have installed the plugin Useer Photo, and added the below code to the Page Template, Single Post and Main Page template pages.
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<div id=”info”>By <?php the_author() ?>
<!– displays the user’s photo and then thumbnail –>
<?php userphoto_the_author_photo() ?>
<?php userphoto_the_author_thumbnail() ?><!– the following two do the same since $authordata populated –>
<?php userphoto($authordata) ?>
<?php userphoto_thumbnail($authordata) ?><!– and this is how to customize the output –>
<?php userphoto_the_author_photo(
‘<b>Photo of me: ‘,
‘</b>’,
array(‘class’ => ‘photo’),
get_template_directory_uri() . ‘/nophoto.jpg’
) ?>
On <?php the_time(‘F jS, Y’) ?> in <?php the_category(‘, ‘) ?> / <?php edit_post_link(‘Edit’); ?> </div>This is according to the install text. I am still not getting the personal photos to come up either in the Users profile or on the pages.
Any idea what I am missing.
Thanks in advance for any help.
Ted
- The topic ‘[Plugin: User Photo] Help with coding’ is closed to new replies.