I've created a page through WP admin and I want page to only display what I put in the content area. I'm pretty sure I should use something like this - <?php the_content(); ?> - but I'm not sure of the specifics.
If I use the Loop from index.php (starkers) the content of the page displays but the "page name," "posted on, "author," "comments," etc are all included. I just want the content from page without the other stuff.
I've tried this:
<?php query_posts(); the_post(); ?>
<?php the_content(); ?>
<?php wp_reset_query(); ?>
It seems to work, but I'm not sure if it's the "correct" way to do it. I don't want to use something sloppy if there's a better way.
I've also tried this:
<?php the_post(); ?>
<?php the_content(); ?>
<?php wp_reset_query(); ?>
I tested both and they seem to work the same. Are there any advantages to one over the other?
Thank you.