echoing entire page content including all posts from that page.
-
Hi, I’m trying to get an entire pages content to appear in a slider. I’ve got it working on a standard page with the below code. But when I try this it on a page with posts it doesn’t work. I want it to appear in the slider exactly as it would as a normally. Any help would be great. Cheers
<?php
$id=83;
$post = get_page($id);
$content = apply_filters(‘the_content’, $post->post_content);
echo $content;
?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘echoing entire page content including all posts from that page.’ is closed to new replies.