Changeset 42343 for trunk/src/wp-content/themes/twentytwelve/index.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/index.php
r32116 r42343 22 22 23 23 <?php /* Start the Loop */ ?> 24 <?php while ( have_posts() ) : the_post(); ?> 24 <?php 25 while ( have_posts() ) : 26 the_post(); 27 ?> 25 28 <?php get_template_part( 'content', get_post_format() ); ?> 26 29 <?php endwhile; ?> … … 32 35 <article id="post-0" class="post no-results not-found"> 33 36 34 <?php if ( current_user_can( 'edit_posts' ) ) : 37 <?php 38 if ( current_user_can( 'edit_posts' ) ) : 35 39 // Show a different message to a logged-in user who can add posts. 36 40 ?> … … 43 47 </div><!-- .entry-content --> 44 48 45 <?php else : 49 <?php 50 else : 46 51 // Show the default message to everyone else. 47 52 ?>
Note: See TracChangeset
for help on using the changeset viewer.