well maybe if you have a shortcode to display the users “login name” then you could probably replace the the php code with the shortcode. idk if it works though havent really tried anything like that just yet.