Archived topic
Insert html/php to author page
3 replies · Started by themedleb on January 3, 2018
Hello,
Can you tell me please how can I insert html/php to the author archive page? I found nothing similar to "author.php" in the theme's directory.
Thank you.
Hi there,
Take a look at this: https://generatepress.com/forums/topic/create-a-separate-author-php-for-our-child-themes/#post-136516
Or you might be able to use hooks with conditional tags to target the author pages as well:
https://docs.generatepress.com/article/hooks-overview/
https://codex.wordpress.org/Conditional_Tags#An_Author_Page
https://docs.generatepress.com/article/using-hooks-conditional-tags/
Thank you Leo.
No problem!