Skip to content

Instantly share code, notes, and snippets.

--- link-template.php 2009-01-24 01:33:37.000000000 -0800
+++ link-template.php 2009-05-30 11:10:41.000000000 -0700
@@ -950,6 +950,9 @@
else
$post = get_adjacent_post($in_same_cat, $excluded_categories, $previous);
+ $rel = 'next';
+ if($previous) $rel = 'prev';
+
if ( !$post )