Changeset 43571 for trunk/src/wp-content/themes/twentytwelve/index.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/index.php
r42343 r43571 25 25 while ( have_posts() ) : 26 26 the_post(); 27 ?>27 ?> 28 28 <?php get_template_part( 'content', get_post_format() ); ?> 29 29 <?php endwhile; ?> … … 38 38 if ( current_user_can( 'edit_posts' ) ) : 39 39 // Show a different message to a logged-in user who can add posts. 40 ?>40 ?> 41 41 <header class="entry-header"> 42 42 <h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1> … … 47 47 </div><!-- .entry-content --> 48 48 49 <?php49 <?php 50 50 else : 51 51 // Show the default message to everyone else. 52 ?>52 ?> 53 53 <header class="entry-header"> 54 54 <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
Note: See TracChangeset
for help on using the changeset viewer.