Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] How to display photo in post body with User Photo addon?

Old Feb 3, 2011, 04:32 PM
11 posts · Aug 2010
Denver US

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.


Thanks very much,

Old Feb 3, 2011, 07:20 PM
juggledad's Avatar
23,755 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>'); ?>
I don't guarantee it will work, it could even crash your site, but it is worth a test.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Feb 4, 2011, 07:57 AM
11 posts · Aug 2010
Denver US
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.



body text, photo, post, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] photo display in sidebar not working Shama Sidebars & Widgets 3 Jul 31, 2010 12:33 PM
[SOLVED] Photo display symarch Atahualpa 3 Wordpress theme 2 Jun 17, 2010 12:53 PM
Photo from post in RSS feed. rottwlrmom RSS, Feeds & Subscribing 6 Apr 18, 2010 04:47 AM
Plugin "User Photo" => Where to put the code in Atahualpa? nudgens Plugins & Atahualpa 2 Nov 26, 2009 07:31 AM
User Photo johnnewton Atahualpa 3 Wordpress theme 3 Mar 15, 2009 02:43 PM

All times are GMT -6. The time now is 07:27 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.