Change Blog Post author bio link

To change the blog post author bio link, you can follow these.

#1. First, open a blog post > Click on Author Name

The browser will open a link like this but we just need to find the part at the end of the url.

In my example, we will have:

  • Author 1: author=666f9aeae04a901df836b43d
  • Author 2: author=5cf999834aa572000105d795

#2. Use this code to Code Injection > Footer

Replace Google/Facebook with new URLs

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$(".blog-item-author-profile-wrapper a[href*='author=5cf999834aa572000105d795']").attr("href", "https://www.google.com/");
$(".blog-item-author-profile-wrapper a[href*='author=666f9aeae04a901df836b43d']").attr("href", "https://www.facebook.com/");
});
</script>