Skip to content

Instantly share code, notes, and snippets.

@chimeno
Created April 21, 2015 16:24
Show Gist options
  • Select an option

  • Save chimeno/d3a20e047f5808a6bd7d to your computer and use it in GitHub Desktop.

Select an option

Save chimeno/d3a20e047f5808a6bd7d to your computer and use it in GitHub Desktop.

Revisions

  1. chimeno created this gist Apr 21, 2015.
    6 changes: 6 additions & 0 deletions page-template.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    $the_query = new WP_Query( 'page_id=305' );
    while ( $the_query->have_posts() ) :
    $the_query->the_post();
    the_content();
    endwhile;
    wp_reset_postdata();