Adamluk Posted July 20, 2021 Posted July 20, 2021 Site URL: https://prdt.design/ I have created a blog page and i have the content pulling into a summary block, I want the thumbnails to link to the "Source URL" for each post. Can anyone help?? Site: https://prdt.design/ Passwoard: Letme!n
tuanphan Posted July 20, 2021 Posted July 20, 2021 1 hour ago, Adamluk said: Site URL: https://prdt.design/ I have created a blog page and i have the content pulling into a summary block, I want the thumbnails to link to the "Source URL" for each post. Can anyone help?? Site: https://prdt.design/ Passwoard: Letme!n Hi. Try this code 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!)
tuanphan Posted July 21, 2021 Posted July 21, 2021 12 hours ago, Adamluk said: Did not work, anything i need to tweek? Add to Settings > Advanced > Code injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $('article.blog-item').each(function() { var cr = $(this).find('a.blog-more-link'); $(this).find('.blog-image-wrapper a').attr('href', cr.attr('href')); }); </script> 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!)
Adamluk Posted July 21, 2021 Author Posted July 21, 2021 Still not working, should i remove the header injected code? Its adding the href link but the light-box is still appearing when you click and its not going through to the url specified.
tuanphan Posted July 24, 2021 Posted July 24, 2021 On 7/21/2021 at 7:46 PM, Adamluk said: Still not working, should i remove the header injected code? Its adding the href link but the light-box is still appearing when you click and its not going through to the url specified. Can you remove above code + enable read more link? (Then we will hide it with code) 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.