Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hughmanwho

    (@hughmanwho)

    @alchymyth

    Which version of WordPress are you using? I’m wondering if they changed something in version 3.1 that broke this?

    I did try print_r($author) to get similiar results, user_firstname and all the other meta data was completely blank.

    @graq

    Sorry, I thought marking it as resolved meant it closed the topic.. I found a work around and went ahead and just used $author->display_name and $author->nice_name even though having the first and last name would still be preferred.

    Thread Starter hughmanwho

    (@hughmanwho)

    For anyone who stumbles across this with a similar question:

    I’ve discovered that get_userdata doesn’t actually get the meta data.. which is different from what the wordpress codex tells me as of now.

    I believe I have to use get_user_meta() function even though that one doesn’t seem to be working for me either… I’ll keep playing with it.

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