Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Embedding an external site into wordpress

Discussion in 'Misc WordPress Requests' started by bytesizekieran, Oct 26, 2017.

  1. bytesizekieran


    Reply To: Embedding an external site into wordpress, by bytesizekieran

    Cheers for the help, this site is indeed on Premium Plan and I’ve found where they had the previous embeded site working

    Using the below code

    Template Name: Specs



    <div class=”section-row specs”>
    <div class=”max-container”>

    <div class=”breadcrumb”>Home / Specs </div>


    <div id=”frame-holder”>


    var frame_url = ‘https://sites.google.com/a/rte.ie/digitaladspecs/’,
    elemen = document.getElementById(‘frame-holder’);

    var url_hash = window.location.hash.substr(1),

    url_hash = url_hash.replace(“+”, “/”);

    frame_url = frame_url+url_hash;

    elemen.innerHTML = ‘<iframe id=”rteframe” src=”‘+frame_url+'” width=”100%”></iframe>’;

    </div><!– END .section-row; –>

    <?php get_footer(); ?>

    Got access to the FTP and updated with a new google site link and now the page is appearing blank.

    Reply To: Embedding an external site into wordpress

Share This Page

Monarch Social Sharing Plugin