Posted By

robnilas on 01/21/17


Tagged

php


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

NicolausX
robnilas


Call A Page


 / Published in: PHP
 

  1. <?php
  2. $page_id = 696;
  3. $page_data = get_page( $page_id );
  4. $content = apply_filters('the_content', $page_data->post_content);
  5. $title = $page_data->post_title;
  6. echo $content;
  7. ?>

Report this snippet  

You need to login to post a comment.