Hi I'm attempting to create my own custom template that will have a format like this:
<?php get_header(); ?> <div id="container"> <div id="top-half"> <!--fixed content here that is stored in the page template--> </div> <div id="bottom-half"> <!--Content pulled from the actualpage that has this template assigned to it--> </div> </div> <?php get_footer(); ?>
Right now I'm using
<?php the_content(); ?> and instead of pulling the page content, it's pulling a specific post from my post list. I'm not quite sure why this is happening.
UPDATE: The code below was located in a widget that was being processed just before the Wordpress loop took effect in my template. I didn't reset my query using
wp_reset_query(); so Wordpress displayed only a single post.
<?php query_posts('p=63'); ?> <?php while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endwhile;?>