Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   [SOLVED] Display Avatar plugin not work fine with Atahualpa theme (http://forum.bytesforall.com/showthread.php?t=13856)

gtrufero Apr 20, 2011 06:29 AM

[SOLVED] Display Avatar plugin not work fine with Atahualpa theme
 
Hello and sorry for my English..

I had instaled:
W.P. 3.1.2 Alpha in Multisite mode.
Add Local Avatars plugin (VPeter Sterling ) 10.0
Display Avatars plugin 0.1

Display Avatars show the post author avatar at the right area of each post and work OK in Twenty Theme but in Atahualpa theme show 2 avatars and change the title style.

In the other hand I tried to show the avatar in posts only with ATO and Add Local Avatars plugin but always show on left.

Anybody can help me!

Thank you!

gtrufero Apr 20, 2011 06:44 AM

The problem is just in multipost page. In a simple post it work fine but in the home (Posts page) show 2 avatarrs and the title style go away.

juggledad Apr 20, 2011 07:08 AM

Are you displaying the posts as excerpts in the multi-post page?

If so you will probably have to add some items to the 'do not exclude' option of the 'Configure EXCERPTS' section of the theme. WordPress, and Atahualpa following wp's lead, strips all HTML from an excerpt

gtrufero Apr 20, 2011 07:51 AM

I'm displaying FULL POST.

It's full post configurated in ATO and in the general settings of Worspress.

Thanks for you reply.

juggledad Apr 20, 2011 07:53 AM

what is the URL?
What version of Atahualpa?

gtrufero Apr 20, 2011 08:06 AM

Atahualpa 3.6.4

Sorry but itīs an intranet and the post are not public

thank again!

juggledad Apr 20, 2011 11:31 AM

Go to a page having the issue, view the source, copy and send it me in a PM

juggledad Apr 25, 2011 12:45 PM

try this, edit bfa_post_parts.php and change line 52 from
HTML Code:

                if( !is_single() AND !is_page() ) { ?>
to
HTML Code:

                if( !is_single() AND !is_page() and (!function_exists(displayPostAuthor))) { ?>

gtrufero Apr 26, 2011 01:42 AM

Hello again.

Magic! (I know is not magic . . . it's knowledge)

I changed line 52 and now it's OK, but the post title not link to the SINGLE POST page.

juggledad Apr 26, 2011 05:05 AM

1 Attachment(s)
Try this, rename your current 'bfa_post_parts.php' to 'bfa_post_parts.old' and unzip and put the following attachment into the 'functions' folder.

Note: because Atahualpa allows you to have a different title on single vrs multi post pages (Atahualpa post options), any post that uses that option will not have an avatar. The avatar plugin ties off to a call to 'the_title()' function, but since it won't be called in these cases, the avatar will not show up.

Attachment 1318

gtrufero Apr 26, 2011 05:36 AM

OK. Now everything works fine.

Thanks so much for all the support !! :)

juggledad Apr 26, 2011 06:40 AM

BUGFIX created (http://forum.bytesforall.com/showthread.php?p=63991)
added to 3.6.5 TODO list


All times are GMT -6. The time now is 05:53 AM.

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