[Resolved] Codex tea leaves. 2011 theme.
<?php get_header(); ?>
<div id=”content” role=”main”>
<?php the_post(); ?>
<?php get_template_part( ‘content’, ‘page’ ); ?>
<?php comments_template( ”, true ); ?>
</div><!– #content –>
</div><!– #primary –>
<?php get_footer(); ?>
With regards to the call to the_post();.. Why do I need to iterate for the loop on a page that is not supposed to really be using any posts? With regards to get_template_part… Can you really get part of the page template from page.php? Where is ‘content’ defined? Where is the code located that is fetched by get_template_part above? Those are my questions for the time being.
- The topic ‘[Resolved] Codex tea leaves. 2011 theme.’ is closed to new replies.