linked page for WIP project pages
-
Hi Armin,
I'm working on and compiling some project pages that I haven't finished yet. I'm fine with having thumbnails of these projects show up in the thumbnail grid view, but I'd like them to link to a sort of maintenance page when clicked.
It would be great to have something like a maintenance mode option for WIP project pages.
Is this possible in some way?
-
hey Starc, I would suggest you leave a project as private or as a draft and then just click preview in the project without publishing it. This way it won't be in the project thumbnail grid.
Here is where we make a project private:

-
but it seems like when layout cache is enabled, setting a project back to private if it was already published may not remove it.
that will be fixed with the next update.
you may also set the project to password protected -
Thank you Armin,
I solved it (Claude) in this way via custom js
// DOVREBBE REDICTARE I PROGETTI
document.addEventListener('click', function(e) {
var link = e.target.closest('a.thumb[data-id]');
if (!link) return;var wipIds = ['93', '101']; // 93 Ventrice Odontoiatria 101 Psinel
var wipUrl = '[Custom link for WIP placeholder page]';if (wipIds.indexOf(link.getAttribute('data-id')) !== -1) {
e.preventDefault();
e.stopImmediatePropagation();
window.location.href = wipUrl;
}
}, true);
// DOVREBBE REDICTARE I PROGETTIWhen the thumbnail is clicked this autoredirect to a specific work in progress page. When the page is finished i will remove the id number from this
var wipIds =
-
ah ok cool! well done
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it