Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter krishaamer

    (@krishaamer)

    I’ve now tried creating an additional image field with the Pods plugin and then access it with the user_meta shortcode, however I’m not getting anything back.

    Any advice would be greatly appreciated.

    Best,
    Kris

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    I will add a new shortcode for showing of user avatar.

    For user meta, the structure is – [user_meta key="KEY_NAME"]. I am not sure what prefix pods use to store meta field. But, try with an underscore – ‘_KEY_NAME’ or ‘pods_KEY_NAME’. If this doesn’t work, then ask them to find the actual meta file names for user fields.

    Thanks.

    Thread Starter krishaamer

    (@krishaamer)

    Fantastic, thanks!

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Ok, now i see that the user meta wasn’t working in any ways. We had a bug in our code, which has been fixed (version 2.0.5).

    We have also included [user_avatar size=32] to use user avatars.

    Thanks for staying with us.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shorcode for user photo?’ is closed to new replies.