Good afternoon!
Is it possible to load the template of a page when embeding it to another?
When I use the following code, it only displays text/image into the second page:
<?php
$page_id = 509;
$page_data = get_page( $page_id );
echo apply_filters('the_content', $page_data->post_content);
?>
Cheers!