实际上是通过get_author_posts_url($authorID)获得作者URL,它是重定向到某些页面,比如http://example.com/members/authorName/
因此,在这个页面上,我需要做一些额外的修改,无法确定要编辑哪个template.page。我在wp-include中搜索了author-template,但没有找到自定义页面的方法。
所以请指导我如何定制那个页面?
发布于 2017-09-03 09:00:25
如果不看主题的代码库,就不可能回答。您可能需要编辑author.php文件。如果主题中不存在该文件,请查找层次结构中的下一个文件。https://developer.wordpress.org/themes/basics/template-hierarchy/#author-display
https://wordpress.stackexchange.com/questions/278938
复制相似问题