how to display author name in custom post type

Question

What should write for display_name?
I want to display author name in custom post types, but I got administrater name ‘root’ for get_the_author() function and when I used get_the_auther_meta(), I couldn’t get anything.
If anyone knows please let me know.

enter image description here

0
Vishal 2 months 0 Answers 18 views 0

Leave an answer