Support » Plugins » [Plugin: WP-FacebookConnect] use $object->user_id in get_avatar()

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    Thanks for posting this, I’ve been having the exact same issue. However I can’t seem to get it working as I’d expect. Are you able to post a code snippet?

    My guess is; <?php echo get_avatar($object->user_id, ’96’); ?>
    But still doesn’t seem to work…

    Cheers,
    James.

    Hi James

    That is incorrect, you are still just passing the object’s user_id value, just use this (as long as $object->user_id exists):

    <?php echo get_avatar($object, '96'); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-FacebookConnect] use $object->user_id in get_avatar()’ is closed to new replies.