Advanced Custom Field plugin provides multiple functions to display custom fields value. Those functions are get field and the field. Both functions have detailed descriptions on the advanced custom field site. The only difference between both is, the get_field function will require an echo function to print the value returned by the get_field. While the_field […]
The template function get_field and the_field will work the same as it works for the posts. The only change is in the second parameter of the function. It will be user_{user_id} instead of post_id. The custom fields for the user are saved in the user_meta table. Here is the example of displaying values of each […]