I was trying to install the Event Calendar, which did not work, in the process I was messing with the main template file (index.php) I have listed what remains of the file below:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
?>
now the main page of my blog projectijtihad.com/blog is coming up with a blank page. you can get to the main page projectijtihad.com but once to try to access anything in the /blog directory it come up blank.
Please help :(
Thanks.
hadi
so.. redownload the theme you used and upload it again?
Whenever you screw up a file, replace it with the backup you created - that's the intelligent response. If intelligence didn't come with the DNA, then upload a copy of the file from the original WP download.
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
?>
P.S. You RARELY want to mess with the index file in the root directory of WP. Edit the one in the theme directory.
Thanks for the kind words! I just figured out that require('./wp-blog-header.php'); was missing.