[wp-testers] Wordpress 3.3 beta 1 and Contextual Help
Michael Fields
michael at mfields.org
Wed Oct 12 11:03:26 UTC 2011
> These content.php and content-foo.php templatr-part files will have
> the Loop code.
It may be important to clarify that these template parts do not contain the loop in Twenty Eleven.
They are designed to be used inside the loop.
For example:
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php endif; ?>
-Mike
More information about the wp-testers
mailing list