cr1tchley
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by cr1tchley
-
-
-
On 9/3/2020 at 11:21 PM, tuanphan said:
Add to Home > Settings > Advanced > Code Injection > Footer
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { // project 01 $('article.index-item a[href="/alt-text-as-poetry"]').attr('href','https://beaverhero.com'); // project 02 $('article.index-item a[href="/selfportrait"]').attr('href','https://google.com'); }); </script>
Do similar for other items. Replace beaverhero, google with new url
Following on from this - I have a similar issue, I'm wanting to link the thumbnail for this gallery page:
https://www.arranandjules.co.uk/#/charllote/to
https://www.arranandjules.co.uk/#/charlottt-tampubolon-london/
Essentially wanting to override the url slug when clicking the thumbnail if that makes sense.
Any help much appreciated 🙂
@tuanphan
Index Page Thumbnail Link to External Site
in Customize with code
Posted
Hey,
Thanks for sending code above - just tried and unfortunately it didn't work. I added the code into the main footer injection section. It stoped the default slug link from loading and changed the url in the top browser search bar when clicking on the thumbnail. However it didn't load the page we're trying to redirect to (basically removing the clickthrough on the thumbnail).
Thanks,
Arran
@tuanphan