Get data from wp_usermeta that is niot for current author
-
Hello,
I am looking for assistance in making it so I can get data from wp_usermeta and use that info in a template. However the data is not data from that page’s author.
For instance if I had an image named admin.jpg I know it is simple enough to write this to show the admin’s image such as:
<img src="/images/admin.jpg" width="180" height="200" border="0" alt="Admin"> by doing... <img src="/images/<?php the_author_login(); ?>.jpg" width="180" height="200" border="0" alt="<?php the_author_firstname(); ?>">
but what if I want to extarct data for another user but use it in a template where the author is admin?
Can anyone shed some light on this? I know the data would be coming from wp_usermeta and I also use the extrauserdata and extrausermeta plugin and would like to extarct data from that as well.
- The topic ‘Get data from wp_usermeta that is niot for current author’ is closed to new replies.