I'm getting a post by id with get_post();
$post = get_post(17);
$page = get_post_meta(17);
setup_postdata( $post );
include($page['_wp_page_template'][0]);
After getting the post I include a pagetemplate wich contains a:
while ( have_posts() ) : the_post();
If I call the_title()
from outside the loop I get the right title of the post called with get_post().
If I call the_title()
from within the loop I get the title of the current page I'm on. How do I get the data from the get_post
into the loop.