Sociable’s Facebook Connect plugin causing issues with get_avatar function
-
I’m having a problem where Sociable’s FB Connect plugin is overriding the “get_avatar()” call that I make in the footer of my theme.
On the theme of my blog I use the get_avatar function to call avatars for all my contributors within the footer. You can see an example of the “normal” footer here: https://www.raincityguide.com/
However, with the Facebook Connector plugin installed, the get_avatar function calls the avatar of the very last commenter to leave a post (as oppose to the author) within the footer. Here’s an example: https://www.raincityguide.com/2009/02/21/on-this-day-in/
Note, this ONLY happens if the last commenter users FB Connect to leave their comment. If they didn’t use Facebook Connect, then the footer appears as it should and the get_avatar function calls the correct avatar for each of the contributors
I’m not much of a coder, but it appears to me that the plugin is (essentially) taking over the “get_avatar” function and not letting it go so I can use it elsewhere on the page. How might I go about clearing the “get_avatar” function after it is done cycling through the comments (but before the footer)?
By the way, i thought I’d point out that I did try the developers website first, but after a few days, my comment has not yet had a response: https://www.sociable.es/facebook-connect/?cp=35
Thanks in advance for your help!
- The topic ‘Sociable’s Facebook Connect plugin causing issues with get_avatar function’ is closed to new replies.