WordPress Include Page Content


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. is_home() will return true if it is the front page
  2. $page = get_page_by_path($my_id);
  3. echo $page->post_content;
  4. to output a page

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.