Hi guys. I'm experiencing a weird issue with Aruba theme. I have a portfolio page where I only show categories (Editorial, commercial...). If you click on a category, you see the portfolio items. If on a portfolio item you click on next at the end, everything's fine. If you try to go back with browser arrow, though, it goes correctly back to the category page, but items are not clickable anymore, the page seems "dead". I'm not getting why that happens... Can you give me some hint or tell me how to manage such behaviour? Thanks
Hello Davide, if you can provide wp admin access with full rights using Appearance -> Theme file editor we can do a refresh of the previous page when hitting Back browser button.
if you cannot we can suggest what and where to modify.
Hi guys. I'm experiencing a weird issue with Aruba theme. I have a portfolio page where I only show categories (Editorial, commercial...). If you click on a category, you see the portfolio items. If on a portfolio item you click on next at the end, everything's fine. If you try to go back with browser arrow, though, it goes correctly back to the category page, but items are not clickable anymore, the page seems "dead". I'm not getting why that happens... Can you give me some hint or tell me how to manage such behaviour? Thanks
Hello Davide, if you can provide wp admin access with full rights using Appearance -> Theme file editor we can do a refresh of the previous page when hitting Back browser button.
if you cannot we can suggest what and where to modify.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hi,
I added in theme's /js/scripts.js file the following code
window.addEventListener( "pageshow", function ( event ) {
var historyTraversal = event.persisted || ( typeof window.performance != "undefined" && window.performance.navigation.type === 2 );
if( historyTraversal ) {
// Handle page restore.
window.location.reload();
}
});
hard refresh the content (Ctrl+F5) before testing.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
That's wonderful, works perfectly!
Thanks again for the support. Best regards
Davide