Comments nsaurin started the conversationNovember 9, 2020 at 10:03amHello, I would like to remove author links from an article. The links that are on the name of whoever wrote the blog post, above and below the blog post. How to remove or modify this link? FYI I'm not talking about the link in the comment authors. thank you so much Nicolas 2,701PenciDesign repliedNovember 9, 2020 at 12:17pmHi, You can do that by install & activate plugin Code Snippets. After that, go to Dashboard > Snippets > Add New > enter a title and put the code below on the "Code" box: add_filter( 'author_link', 'penci_modify_author_link', 10, 1 ); function penci_modify_author_link( $link ) { $link = '#'; return $link; } like on this image. And save it and check it again. The author URL on the code will be change to your homepage URL. Best Regards, PenciDesignnsaurin repliedNovember 9, 2020 at 2:31pmThank you ! I replaced the home page with my about page. it works very well thank you Sign in to reply ...
Hello,
I would like to remove author links from an article. The links that are on the name of whoever wrote the blog post, above and below the blog post. How to remove or modify this link?
FYI I'm not talking about the link in the comment authors.
thank you so much
Nicolas
Hi,
You can do that by install & activate plugin Code Snippets.
After that, go to Dashboard > Snippets > Add New > enter a title and put the code below on the "Code" box:
like on this image.
And save it and check it again. The author URL on the code will be change to your homepage URL.
Best Regards,
PenciDesign
Thank you ! I replaced the home page with my about page. it works very well thank you