Nest Next and Previous in a href with class that has a background image
EDIT In single.php you should be using: <?php previous_post_link(‘%link’, ‘Previous’); ?> and <?php next_post_link(‘%link’, ‘Next’); ?>. Then you add this to your functions.php: function filter_next_post_link($link) { $link = str_replace(“rel=”, ‘class=”next” rel=”, $link); return $link; } add_filter(“next_post_link’, ‘filter_next_post_link’); function filter_previous_post_link($link) { $link = str_replace(“rel=”, ‘class=”prev” rel=”, $link); return $link; } add_filter(“previous_post_link’, ‘filter_previous_post_link’); Although this is not … Read more