Che Posted March 9, 2022 Share Posted March 9, 2022 Trying to find code for this situation. I see there's a way to disable portfolio links and hover, but I want to just change the link to redirect it to a different page under a different portfolio and have it still show up in the list of portfolio subpages. Example: Portfolio One has a project that is exactly the same as Portfolio Two. Can I have /portfolio-one/project still show up on the Portfolio One page, but when clicking the link goes to www.website.com/porfolio-two/project ? www.website.com/portfolio-one/project www.website.com/porfolio-two/project Link to comment
tuanphan Posted March 13, 2022 Share Posted March 13, 2022 Edit Project One >> Add a Code Block >> paste this code <script> document.addEventListener('DOMContentLoaded', function() { if ( window.location == window.parent.location ) { var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://code.beaverhero.com/1647170255659.js'; document.getElementsByTagName('head')[0].appendChild(script); } else { console.log('iframe'); } }); </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
SpruceGooseTV Posted March 14, 2022 Share Posted March 14, 2022 20 hours ago, tuanphan said: Edit Project One >> Add a Code Block >> paste this code <script> document.addEventListener('DOMContentLoaded', function() { if ( window.location == window.parent.location ) { var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://code.beaverhero.com/1647170255659.js'; document.getElementsByTagName('head')[0].appendChild(script); } else { console.log('iframe'); } }); </script> I am also trying to do something similar, although this code didn't work for me. Is there a way to redirect portfolio grid projects to another page, either an external page or another page on my site? My actual portfolio pages are locked behind members areas but here is a sample portfolio that I am trying to have link to another page (in my case, a video page) upon clicking on a project: https://www.sprucegoose.gg/test-portfolio Link to comment
tuanphan Posted March 15, 2022 Share Posted March 15, 2022 22 hours ago, SpruceGooseTV said: I am also trying to do something similar, although this code didn't work for me. Is there a way to redirect portfolio grid projects to another page, either an external page or another page on my site? My actual portfolio pages are locked behind members areas but here is a sample portfolio that I am trying to have link to another page (in my case, a video page) upon clicking on a project: https://www.sprucegoose.gg/test-portfolio Can you add & keep the code? I can check 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment