• Hi, in my list, a user has a relationship to another user. Instead of the relationship-linked user name (stored in usermeta) being displayed, it would be the user ID instead.

    What is should look like:

    Student | Teacher
    John Doe | Mr. Smith

    What it does instead:

    Student | Teacher
    John Doe | 3

    Any idea how to pull the usermeta value stored instead of the user ID?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author anmari

    (@anmari)

    Hi JP,
    Unless you have some custom code OR your site has found independent life and a will of it’s own then the usermeta value that is a number IS what it is displaying for your teacher meta key.
    There is no code that takes a previously unknown field with some text in it and looks up the userid for it.

    Please inspect via phpmyadmin your usermeta table more carefully. Perhaps the plugin you are using to create the relationship has more than one field?

Viewing 1 replies (of 1 total)
  • The topic ‘User ID shows instead of User Meta Value’ is closed to new replies.