I'm working on an ajax-based Wordpress site and I want to know if there is a way to get a particular page content with theme structure applied in.
One workaround is to use
wget
or
file_get_contents(page_url)
but it'd be cleaner to use Wordpress built-in functions.
Thanks.