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. Showing website in iframe with shortcode

Showing website in iframe with shortcode

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 676 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
    C
    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
      mariusjopenM
      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
        C
        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
          mariusjopenM
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          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