sarahrab Posted October 27 Share Posted October 27 I need help directing the "read more" links to the source URL for each post in the summary block. The images and titles are correctly linked to the source URL, but "read more" is bringing me to the internal blog page. How can I make it direct to the source URL? Page: https://cdlri.squarespace.com/mission pw: CDLRI Link to comment
Solution tuanphan Posted October 29 Solution Share Posted October 29 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
sarahrab Posted October 29 Author Share Posted October 29 @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). Link to comment
tuanphan Posted November 3 Share Posted November 3 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
sarahrab Posted November 5 Author Share Posted November 5 You're right, it works when I try it in an incognito window. Thank you! Link to comment
Dovely2023 Posted November 14 Share Posted November 14 Hi @tuanphan Thank you. How do we alter this to open in a new window? I tried adding the window.open _blank but it's not working. Appreciate your help! Link to comment
Dovely2023 Posted November 17 Share Posted November 17 On 11/14/2023 at 12:38 PM, Dovely2023 said: Hi @tuanphan Thank you. How do we alter this to open in a new window? I tried adding the window.open _blank but it's not working. Appreciate your help! Hi @tuanphan just following up on this. Thank you for the help! Link to comment
tuanphan Posted November 20 Share Posted November 20 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
Dovely2023 Posted November 20 Share Posted November 20 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
Dovely2023 Posted Tuesday at 03:43 PM Share Posted Tuesday at 03:43 PM 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
Dovely2023 Posted 1 hour ago Share Posted 1 hour ago On 11/17/2023 at 2:19 PM, Dovely2023 said: Hi @tuanphan just following up on this. Thank you for the help! Hi @tuanphan just following up on this. Thank you for your help! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment