Support

Account

Home Forums General Issues Pull in fields from page with same name as username Reply To: Pull in fields from page with same name as username

  • Hi Elliot,

    I’ve tried implementing like this:

    <?php
    global $current_user;
    get_currentuserinfo();
    
    $other_page = 'user_' . $current_user->ID;
    ?>
    <p><?php echo the_field('favourite_movie', $other_page); ?></p>

    Is this what you mean? It doesn’t seem to do anything.

    Thanks for you help with this.

    P