Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if current page is author page in WordPress

Is there a way I can check if the current WordPress page is the author page?

Thanks in advance!

like image 881
user1878980 Avatar asked Dec 11 '22 04:12

user1878980


1 Answers

Sure is is_author() - http://codex.wordpress.org/Function_Reference/is_author

BTW, a little advice - This was the top link after putting you question title in google. Be sure to do your research first.

like image 141
Alex Avatar answered Dec 22 '22 08:12

Alex