There are many posts that seem to strike around this area, but I'm more and more confused by each one I read.
I have a page that shows the "Terms of Service" (id = 1086). I would like to display the content of that page inside a template (signup.php) on another page.
I'm running latest version (4.3). I'm confused by where to put which bit of code. (functions.php vs right in the template etc...)
How can I show the content of my Terms of Service page on my signup template?
EDIT: Note the change to the post id.
Using @terminator's advice here is the code that I have on my signup.php page:
<div id="termsOfService">
<?php $my_postid = 1086;//This is page id or post id
$content_post = get_post($my_postid);
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo $content; ?>
</div> <!-- termsOfService -->
This returns an empty string
Here is the permalink and shortlink