Show Personal Message Using Any Current Users Profile Fields When Logged In

This tutorial shows you how to use 2 different functions to display any of the profile field data on the front end using a custom function.

This way you can create a personalized message to all your users when they’re logged in which comes in handy for logged in users, guest authors and subscribers.

If you go to Users > Your Profile, You’ll find all the fields which you can display on the front end . Here’s some of the fields in question:

user profile

And here’s an example of a personal message or notice you can show for each logged in user.

name

Related Posts

  • How To Add/Remove Custom User Profile Contact Info Fields In WordPress
  • Was This Tutorial Helpful?

    Free

    $0

    Access only to all free tutorials per month.



    Monthly

    $75

    Access to 10 premium tutorials per month.


    Tutorial Request


    Includes code guarantee and coding support.

    Yearly

    $500

    Access to 15 premium tutorials per month.


    Monthly Tutorial Request


    Includes code guarantee and priority coding support.