I try to add in a SSL wordpress site an iframe from an external wordpress site with src http://external.com/ but the website is not loading in the iframe. At first time i show that the http was replaced auto by https. I added a filter to not allow replace this but again the site is not loading inside the iframe.
I have try with php too but the same happends. Not loading the URL.
<?php echo file_get_contents('http://external.com/api.php'); ?>
The api.php content is a iframe with random permalink from wordpress posts. I dont use the php method in iframe src. Dont be confused about that.
Is the anyway to make it working?
thank you