Get content of a wordpress post

I’m trying to get the html code of a wordpress post in a website made with Altervista, but it doesn’t work.

$page = new DOMDocument();
$page->loadHTMLFile(“http://testcircolari.altervista.org/circolari/ciao-2/”);

Read more here:: Get content of a wordpress post

Leave a Reply

Your email address will not be published. Required fields are marked *