/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
is_home() will return true if it is the front page $page = get_page_by_path($my_id); echo $page->post_content; to output a page