Return to Snippet

Revision: 68692
at February 12, 2015 14:05 by thedan1984


Initial Code
<?php
 $id = 1; // page ID to display
 $p = get_page($id);
 echo apply_filters('the_content', $p->post_content);
 ?>

Initial URL

                                

Initial Description
This will put a page directly into your page template.

Initial Title
WordPress Display Page

Initial Tags

                                

Initial Language
PHP