Support

Account

Home Forums Front-end Issues User Field Type Documentation Missing Reply To: User Field Type Documentation Missing

  • Hi @eugenenyawara

    I believe you can use the get_author_posts_url() function to get the URL of the author by using the user ID. To get the user ID from the user custom field, you can pass a false value to the third parameter of the get_field() function. It should be something like this:

    echo get_author_posts_url(get_field('user_custom_field', false, false));

    Where “user_custom_field” is the name of your custom field.

    I hope this helps 🙂