You can get wordpress author name by post id like that. We first take the WordPress post author’s id after we take the WordPress post author’s name from the WordPress post author id if you want user_nicename field you can get other fileds if you want. Valid fields user_nicename, display_name, nickname, first_name, last_name for the WordPress post author names…