get_page, layout is gone..
So, here’s the original page:
and this is the frontpage:
click me, too!
So, do you see the difference? Paragraphs and spaces are gone.. Does it mean I have to use php code manually, or is there some other way? Here’s the code getting the content.
<?php $page_id = 12; $page_data = get_page( $page_id ); $content = $page_data->post_content; echo $page_data->post_content; ?>
And while I’m at it.. I would like to get the title of the page as well, would make it a bit easier in the future 🙂
Thanks in advance, love you all <3
- The topic ‘get_page, layout is gone..’ is closed to new replies.