Jump to content

Connect summary block read more link to source URL

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Don't remove any code in your current code.

Add this code to Last Line in Code Injection > Footer

<script>
  $(".summary-item").click(function(){
		window.location=$(this).find(".summary-title a").attr("href"); 
		return false;
	});
</script>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 10/30/2023 at 4:57 AM, sarahrab said:

@tuanphan Hm, this code makes the "read more" link start to load the source URL, but then it quickly redirects back to the current page (https://cdlri.squarespace.com/mission). 

I see it works here. Can you check it again?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...
On 11/18/2023 at 3:19 AM, Dovely2023 said:

Hi @tuanphan just following up on this. Thank you for the help!

Can you share link to summary? I can test code again easier

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
12 hours ago, tuanphan said:

Can you share link to summary? I can test code again easier

Yes, here you go. Let me know if you need anything. Thank you. 

https://www.thedoveagency.com/home-2 - the go-to resource library section

https://www.thedoveagency.com/blog - wingbeats section

https://www.thedoveagency.com/blogs - on the actual blog page, the link is still going to the built-in post page - is there a way to make this go to the outbound link a new window? 


Appreciate your help! 

Link to comment
  • 2 weeks later...
On 11/20/2023 at 9:11 AM, Dovely2023 said:

Yes, here you go. Let me know if you need anything. Thank you. 

https://www.thedoveagency.com/home-2 - the go-to resource library section

https://www.thedoveagency.com/blog - wingbeats section

https://www.thedoveagency.com/blogs - on the actual blog page, the link is still going to the built-in post page - is there a way to make this go to the outbound link a new window? 


Appreciate your help! 

Hi @tuanphan just following up on this. Let me know if you have any questions. Thank you!

Link to comment

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.