Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Showing website in iframe with shortcode

Showing website in iframe with shortcode

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 378 Views
  • 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.
  • C Offline
    C Offline
    caromo
    wrote on last edited by
    #1

    Hi, I'm trying to show a website I designed on my portfolio in a iframe adding on shortcode. But I add the code and I see my website, not the link I put on.

    <iframe name=”web_plamobilitat” src=”http://www.lalcudia.com/WEBMOBILITAT” frameborder=”1″></iframe>

    Anyone knows what happens?

    Thank you
    Carles

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @caromo

      if I have a look at your sourcecode I cannot see any iframe:

      
      <!DOCTYPE html>
      <html>
          <head>
              <meta charset="utf-8">
              <style type="text/css">
                  html, body, #partner, iframe {
                      height:100%;
                      width:100%;
                      margin:0;
                      padding:0;
                      border:0;
                      outline:0;
                      font-size:100%;
                      vertical-align:baseline;
                      background:transparent;
                  }
                  body {
                      overflow:hidden;
                  }
              </style>
              <meta content="NOW" name="expires">
              <meta content="index, follow, all" name="GOOGLEBOT">
              <meta content="index, follow, all" name="robots">
              <!-- Following Meta-Tag fixes scaling-issues on mobile devices -->
              <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">
          </head>
          <body>
              <div id="partner"></div>
              <script type="text/javascript">
                  document.write(
                          '<script type="text/javascript" language="JavaScript"'
                                  + 'src="//sedoparking.com/frmpark/'
                                  + window.location.host + '/'
                                  + '1und1parking7'
                                  + '/park.js">'
                          + '<\/script>'
                  );
              </script>
          </body>
      </html>
      

      Are you sure it is in?

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • C Offline
        C Offline
        caromo
        wrote on last edited by
        #3

        Hi Marius, I don't have knowledge to do this but I found on internet, and tried to insert in sortcode in one test page.

        Look the link and picture... maybe it's in wrong place.

        https://carlesrodrigo.es/home-2

        thank you

        alt text

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @caromo
          I can see that the frame works.

          But why do you use an iframe? You can achieve the same result without. I strongly recommend not to use an iframe.
          Have a look here: https://www.ostraining.com/blog/webdesign/against-using-iframes/

          Best!

          Marius

          www.mariusjopen.world

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


          I also code custom websites or custom Lay features.
          💿 Email me here: 💿
          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