[SOLVED] How to display photo in post body with User Photo addon?
Hi:
I'm creating a blog with Atahualpa version 3.6.4. I installed the User Photo addon and added a photo for each user. I was able to get the photos to display in the byline for single post pages. I went to Atahualpa Theme Options -> Edit Post/Page Info Items and placed this code in the field for Byline: Single Post Pages <?php userphoto_the_author_photo() ?> By %author%, %date('F j, Y')% However, I would like to place the user photo in the post body so that the text flows around it. I can not find a way to do that. Suggestions? Thanks very much, Fred |
If you want the photo as part of the post, then it has to be part of the post.
You could try adding it in ato->Style & edit CENTER COLUMN-> by changing this line HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix"><?php userphoto_the_author_photo() ?>','</div>'); ?> |
Hey, thanks for the suggestion! I tried it and although the site didn't crash, the image was not included in the post body. Not sure why.
At this time I have achieved a workaround by floating the image right. In that case, body text does wrap around the photo. Again, thanks for the help. Fred |
All times are GMT -6. The time now is 08:52 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.