Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • jaudain
    Participant

    @jaudain

    Update: I seem to have figured it out.

    The problem was i was using the_author_meta('ID') which has an echo built into it to display the info, so instead i used get_the_author_meta('ID') and now it seems to be working ok.

    Really strange because i was sure i tried it already lol.

    <?php echo xprofile_get_field_data( 'TWITCH TV Username', get_the_author_meta('ID') ); ?>


    jaudain
    Participant

    @jaudain

    Sorry to double post, but I’m still not sure how to do this, or am I doing something wrong?


    jaudain
    Participant

    @jaudain

    Thanks for the reply, You we’re right it was deprecated, however still no joy.

    e.g. <?php echo xprofile_get_field_data( 'TWITCH TV Username', get_the_author_meta('ID') ); ?>

    Also tried <?php echo xprofile_get_field_data( 'TWITCH TV Username', the_author_meta('ID') ); ?> re: https://codex.wordpress.org/Template_Tags/the_author_meta

    Also with no joy.

    Any other thoughts

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar