Last active
February 13, 2024 07:54
-
-
Save taniarascia/75c8fd62cd3cfdbb4008 to your computer and use it in GitHub Desktop.
Post the contents of one page on another page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$include = get_pages('include=6'); // Insert page number here | |
$content = apply_filters('the_content',$include[0]->post_content); | |
echo $content; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment