Commits

Doug Stewart committed f2b4b7f

Added check for existence of Related Posts plugin (sidebar was crapping out on blogs w/o this plugin).

Comments (0)

Files changed (1)

 		get_links_list(); 
 	}
 	
-	if (is_single() || is_archive()) {?>
+	if (is_single() || is_archive()) {
+		if(function_exists(related_posts)){ ?>
 	<li><h2>Possibly Related</h2>
 	<?php related_posts(); ?>
 	</li>
-	<?php } ?>
+	<?php 
+		}
+	} ?>
 	<?php endif; ?>
 </ul>