WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/03/2014 09:39:37 PM (6 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: Use new core navigation tags.

Props obenland, iamtakashi, fixes #30189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/image.php

    r30046 r30216  
    7171                ?>
    7272
    73                 <?php twentyfifteen_post_nav(); ?>
     73                <?php
     74                    the_post_navigation( array(
     75                        'prev_text' => _x( '<span class="meta-nav">Published in</span><span class="post-title">%title</span>', 'Parent post link', 'twentyfifteen' ),
     76                    ) );
     77                ?>
    7478
    7579            <?php endwhile; // end of the loop. ?>
Note: See TracChangeset for help on using the changeset viewer.