I created a Page Template following these instructions: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
When I create some text in a test page and apply the template I created using the instructions at that link, the text I create doesn’t show up when I go ‘view page’.
What code do I need to add to the template so that text shows up?
Your template must have the
the_content()
function called within the WordPress loop to show up the text you’ve entered while creating new post.You might have missed the
the_content()
function in your custom template, that function retrieves and show the content of your page.Here is sample usage