Skip to content

Commit

Permalink
Add missing characters to readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dlh01 committed Oct 13, 2012
1 parent 697e23c commit fde54d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.txt
Expand Up @@ -111,8 +111,8 @@ You can work with with a zone's posts either as an array or a WP_Query object.
`
$zone_query = z_get_zone_query( 'homepage' );
if ( $zone_query->have_posts() ) :
while ( $zone_query->have_posts() ) $zone_query->the_post();
echo '<li>' . get_the_title() . </li>;
while ( $zone_query->have_posts() ) : $zone_query->the_post();
echo '<li>' . get_the_title() . '</li>';
endwhile;
endif;
wp_reset_query();
Expand All @@ -123,7 +123,7 @@ wp_reset_query();
`
$zone_posts = z_get_posts_in_zone( 'homepage' );
foreach ( $zone_posts as $zone_post ) :
echo '<li>' . get_the_title( $zone_post->ID ) . </li>;
echo '<li>' . get_the_title( $zone_post->ID ) . '</li>';
endforeach;
`

Expand Down

0 comments on commit fde54d4

Please sign in to comment.