I am getting a little of trouble getting my previous_post_link and next_post_link's to possess title characteristics.

I am passing them along such as this:

<div class="previous <?php if(!get_previous_post()){ echo 'inactive'; }?>">
     <?php previous_post_link('%link', true); ?>

<div class="next <?php if(!get_next_post()){ echo 'inactive'; }?>">                     
     <?php next_post_link('%link', true); ?>                

Brilliantly, I'd like to understand this being an output:

<a href="previous/post/page.html" title="That posts title">previous post</a>

It is possible to parameter that I am missing? Or perhaps is something similar to this not achieveable?

edit: for clarification

OK, then take a look at that one,


and that one,


These links has been discovered on the internet, also it exactly solutions what you are asking , so it's usually easier to perform some search before raising it as being a brand new question.

in wordpress posts_nav_link(), shows both Previous and then links, or if you would like both previous and then publish link seperately,

this is actually the code,

 <?php previous_post(); ?> 

it shows text "previous publish:" as link together with publish title.

with no publish title,

 <?php previous_post('%','&laquo; Previous', 'no'); ?> 

To show text, like arrows («), at the outset of the prior publish link and also at the finish from the next publish link therefore it appears like:

<?php previous_post('&laquo; &laquo; %', '', 'yes'); ?>
| <?php next_post('% &raquo; &raquo; ', '', 'yes'); ?>