Daily archives: Thursday, July 2, 2009
Archive page 1 of 1
Putting the_content() into a PHP Variable
There are probably a couple ways to do this, but here is a really easy one:
ob_start();
the_content();
$content = ob_get_clean();
There are probably a couple ways to do this, but here is a really easy one:
ob_start();
the_content();
$content = ob_get_clean();