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. custom links for projects

custom links for projects

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 204 Views 2 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.
  • P Offline
    P Offline
    pauljuergens
    wrote last edited by
    #1

    Hey,

    I use the custom link tool for projects, but the links only get open in a new tab. Is there any way to prevent that or is it a bug?

    Best, Paul

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

      hello! can you post the website address where you see the issue? and please a screenshot of which link exactly?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pauljuergens
        wrote last edited by
        #3

        For sure! It is the Project 027.2 with the link https://paul-juergens.eu/027-1-stadtlabor-richtsberg/#poster

        Bildschirmfoto 2026-07-09 um 13.49.30.png

        https://paul-juergens.eu/027-1-stadtlabor-richtsberg/#poster

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pauljuergens
          wrote last edited by
          #4

          fixed it with some javascript

          document.addEventListener('DOMContentLoaded', function() {
          document.querySelectorAll('a[target="_blank"]').forEach(function(link) {
          if (link.hostname === window.location.hostname) {
          link.removeAttribute('target');
          }
          });
          });

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

            ah the website is online!! its so good!

            ah now i understand what link you mean,
            grafik.png

            it will have a checkbox for open in new tab

            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

            For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).

            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