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?


  #1  
Old Feb 3, 2011, 05:32 PM
Fredo
 
11 posts · Aug 2010
Denver US
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
  #2  
Old Feb 3, 2011, 08:20 PM
juggledad's Avatar
juggledad
 
23,560 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>'); ?>
to
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
  #3  
Old Feb 4, 2011, 08:57 AM
Fredo
 
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.

Fred

Bookmarks

Tags
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 01:33 PM
[SOLVED] Photo display symarch Atahualpa 3 Wordpress theme 2 Jun 17, 2010 01:53 PM
Photo from post in RSS feed. rottwlrmom RSS, Feeds & Subscribing 6 Apr 18, 2010 05:47 AM
Plugin "User Photo" => Where to put the code in Atahualpa? nudgens Plugins & Atahualpa 2 Nov 26, 2009 08:31 AM
User Photo johnnewton Atahualpa 3 Wordpress theme 3 Mar 15, 2009 03:43 PM


All times are GMT -6. The time now is 03:36 AM.


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