Your exemple works pretty well execpt the next/prev doesn’t respect my categories..
I can infinite “next” from all my posts.
++ Little problem… My next button stop showing at a moment..
<div class="left">
<?php if(get_adjacent_post(false, '', true)) { previous_post_link('%link', '<img src="btn-prev-page.gif">', 'true'); }
else { echo '<img src="btn-prev-page-disable.gif">'; } ?>
</div>
<div class="right">
<?php if(get_adjacent_post(false, '', false)) { next_post_link('%link', '<img src="btn-next-page.gif">', 'true'); }
else { echo '<img src="btn-next-page-disable.gif">'; } ?>
</div>
Before I was using this line of code to respect my categories
<div class="right"><?php next_post_link('%link', '<img src="btn-next-page.gif">', 'true') ?></div>
Do you know why this is happening?