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/single.php

    r30046 r30216  
    2424            ?>
    2525
    26             <?php twentyfifteen_post_nav(); ?>
     26            <?php
     27                the_post_navigation( array(
     28                    'next_text' => _x( '<span class="meta-nav">Previous</span><span class="post-title">%title</span>', 'Previous post link', 'twentyfifteen' ),
     29                    'prev_text' => _x( '<span class="meta-nav">Next</span><span class="post-title">%title</span>', 'Next post link', 'twentyfifteen' ),
     30                ) );
     31            ?>
    2732
    2833        <?php endwhile; // end of the loop. ?>
Note: See TracChangeset for help on using the changeset viewer.