<?php if (is_single()) : ?> <div class="browse"><?php previous_post_link('« %link') ?> <?php next_post_link(' %link »') ?></div> <?php else : ?> <div class="browse"><?php posts_nav_link() ?></div> <?php endif; ?>