kravinec
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Framed site not displayingThanks a lot, man.
Forum: Fixing WordPress
In reply to: Framed site not displayingOMG, thanks a lot! It works now. One last thing: Is there a code to stop pictures, css and Javascripts from loading on the embedded site?
Forum: Fixing WordPress
In reply to: Framed site not displayingOh, but there must be other ways to embedd the site… When experimenting with “$site = file_get_contents” I think I once got the site content to load, but it wasn’t in frame and trying to get it in frame resulted in failure again and I couldn’t get it to work again. Do you know how to make it work this way and to set the size? Thanks.
Forum: Fixing WordPress
In reply to: Framed site not displayingI don’t know if I’m using X-Frame-Options. Server is Apache: I use Chrome, but Firefox behaves the same. I don’t believe I can see any log, no.
The code till the end of footer.php:do_action( ‘influence_credits’ );
echo $credits;
?>
</div><!– .site-info –>
<?php endif; ?><iframe sandbox allow-same-origin src=”http://www.amazon.com/gp/product/B00EJOCAYW/ref=as_li_qf_br_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B00EJOCAYW&linkCode=as2&tag=ebolapreventi-20&linkId=4QTCF54SZCH36A5O” name=”test” height=”100″ width=”100″> </iframe>
</div>
</footer><!– #colophon .site-footer –>
</div><!– #page .hfeed .site –><?php get_sidebar(‘menu’) ?>
<?php wp_footer(); ?>
</body>
</html>Forum: Fixing WordPress
In reply to: Framed site not displayingI used the exact same pattern and it’s not working. But it probably won’t be Amazon specific issue, because other sites behave the same.