WordPress.org

Make WordPress Core

Ticket #12407: Consistent navigation links.patch

File Consistent navigation links.patch, 665 bytes (added by solarissmoke, 5 years ago)
  • single.php

     
    1212        <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    1313 
    1414                <div class="navigation"> 
    15                         <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div> 
    16                         <div class="alignright"><?php next_post_link('%link &raquo;') ?></div> 
     15                        <div class="alignleft"><?php previous_post_link('%link', '&laquo; %title') ?></div> 
     16                        <div class="alignright"><?php next_post_link('%link', '%title &raquo;') ?></div> 
    1717                </div> 
    1818 
    1919                <div <?php post_class() ?> id="post-<?php the_ID(); ?>">