Fix posts not displaying on index.php