| 1 | Index: wp-content/themes/twentyten/loop.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-content/themes/twentyten/loop.php (revision 15157) |
|---|
| 4 | +++ wp-content/themes/twentyten/loop.php (working copy) |
|---|
| 5 | @@ -66,6 +66,9 @@ |
|---|
| 6 | </div><!-- .entry-meta --> |
|---|
| 7 | |
|---|
| 8 | <div class="entry-content"> |
|---|
| 9 | +<?php if ( post_password_required() ) : ?> |
|---|
| 10 | + <?php the_content(); ?> |
|---|
| 11 | +<?php else : ?> |
|---|
| 12 | <div class="gallery-thumb"> |
|---|
| 13 | <?php |
|---|
| 14 | $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); |
|---|
| 15 | @@ -81,6 +84,7 @@ |
|---|
| 16 | ); ?></em></p> |
|---|
| 17 | |
|---|
| 18 | <?php the_excerpt( '' ); ?> |
|---|
| 19 | +<?php endif; ?> |
|---|
| 20 | </div><!-- .entry-content --> |
|---|
| 21 | |
|---|
| 22 | <div class="entry-utility"> |
|---|