Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. linked page for WIP project pages

linked page for WIP project pages

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 120 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StarcS Offline
    StarcS Offline
    Starc
    wrote last edited by
    #1

    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?

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote last edited by arminunruh
      #2

      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:

      grafik.png

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote last edited by
        #3

        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

        1 Reply Last reply
        0
        • StarcS Offline
          StarcS Offline
          Starc
          wrote last edited by Starc
          #4

          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 PROGETTI

          When 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 =

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote last edited by
            #5

            ah ok cool! well done

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            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:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. 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:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search