JanR Posted April 3, 2020 Share Posted April 3, 2020 Site URL: https://oneearthrising.com/ Hi folks, On our homepage, we used the beautifully arranged portfolio template to offer clickable images with overlays. However, we would like to show a dedicated page when clicking on the portfolio image. Example of the "Experience our games" image: Currently links to https://oneearthrising.com/this-is-us/our-games Would like it to link to https://oneearthrising.com/games I already tried the domain mapping way with a 301 redirect which didn't work. Any suggestions? Thank you. Link to comment
tuanphan Posted April 4, 2020 Share Posted April 4, 2020 Add this code to Page Settings > Advanced > Header. It will redirect to new url after 5000 miliseconds (1000 = 1 second) Each page has Page Header <script> setTimeout(function(){ window.location.href = 'https://beaverhero.com'; }, 5000); </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!) Link to comment
JanR Posted April 5, 2020 Author Share Posted April 5, 2020 Thank you, Tuanphan. That is a great solution. However, it didn't work for the Project pages, unfortunately, as those for whatever reason don’t offer an individual code injection field for each page, only for the main page (equivalent would be you can only redirect the whole blog instead of individual posts). Why they do that is beyond me but I appreciate the effort. Seems that there is no solution to the issue at the moment. Thank you again. Best, Jan Link to comment
zemaria Posted December 31, 2021 Share Posted December 31, 2021 I have the same problem, did you find a solution? Link to comment
tuanphan Posted January 2, 2022 Share Posted January 2, 2022 On 4/6/2020 at 12:56 AM, JanR said: Thank you, Tuanphan. That is a great solution. However, it didn't work for the Project pages, unfortunately, as those for whatever reason don’t offer an individual code injection field for each page, only for the main page (equivalent would be you can only redirect the whole blog instead of individual posts). Why they do that is beyond me but I appreciate the effort. Seems that there is no solution to the issue at the moment. Thank you again. Best, Jan You can edit sub page >> Add a Code Block >> Paste the 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!) 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