Is there a way to remove the metadata ‘author’ code inserted by Yoast SEO in WordPress?
<meta name="author" content="login.username" />
<!-- / Yoast SEO plugin. -->
I have looked through all the options in the Yoast SEO plugin and tried a few PHP Code Snippets but to no avail.
Can anyone help?
Thanks!
Paully
2
Answers
I think this may be the answer you are looking for: https://yoast.com/help/disable-enable-author-archives/
If you disable the author archive this should remove the author from posts.
There is a filter
wpseo_meta_author
since version 19.3 you can use to change or remove the content of the author meta tag, so to remove it: