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
  • Join 5000+ Followers

    Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.