Jump to content

[Share] Change Blog Posts Author Link

Recommended Posts

If you want to change blog post author bio link (screenshot), you can follow these below steps.

  • If you can't make it work, you can share link to some blog posts, I can check code easier.



#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 blog, we will have

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

#2. Use this code to Code Injection > Footer

Replace Google/Facebook with new  author URLs

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


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Replies 0
  • Views 76
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.