Embedding external page onto site
-
How’s it going there!
I have something here that I hope someone here would know how to steer me onto the right track!
I’m looking to embed an external site onto this page here to act as the specs page for our site which will be hosted externally on squarespace as the ad operation team can update the specs externally on that platform with word press dedicated to sales.
I’ve tried myself using online guides to do it myself using iFrame code but just redirects me to the contact us page https://digitalmediasales.rte.ie/contact-us/
Any idea if this is even possiable?The blog I need help with is: (visible only to logged in users)
-
Hi. iframes are not allowed on the Premium Plan and below. You would have to upgrade your WordPress.com plan if you have not done so.
You can learn more about plan features here: https://en.support.wordpress.com/plan-features/
Here is more information about what kind of code is allowed on WordPress.com site: https://en.support.wordpress.com/code/
Here is more information on embedding content: https://en.support.wordpress.com/category/embedding-content/
-
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
<?php/*
Template Name: Specs
*/get_header();
?>
<div class=”section-row specs”>
<div class=”max-container”>
<h1>Specs</h1><div class=”breadcrumb”>Home / Specs </div>
</div>
<div id=”frame-holder”>
</div>
<script>
var frame_url = ‘https://sites.google.com/a/rte.ie/digitaladspecs/’,
elemen = document.getElementById(‘frame-holder’);if(window.location.hash){
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>’;
</script></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.
https://sites.google.com/rte.ie/specs/
- The topic ‘Embedding external page onto site’ is closed to new replies.