From what I can see, the code you’re using in your main template file (index.php) has some PHP code that has been commented out. Currently it reads:
<!--?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( 'loop', 'index' );
?-->
Open that file up and try changing it to:
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( 'loop', 'index' );
?>
That’s at least the first step, from there you’ll likely need to check and see if the rest of your PHP code in that file was changed…
Update:
I narrowed it down to overwriting my index.php file so downloaded a new new one from WordPress and uploaded that. My website is back up and running!!
Only one thing though when I try to access my WordPress Dashboard by using http://www.comtech247.co.uk/wp-admin I get a list of files instead of my login page. Any ideas?
Thanks
All sorted. I was missing some files from wp-admin so uploaded some new ones from WordPress and bingon life is good again. Thanks Clicknathan for taking the time.
This is a new post…(I’m not very sure of myself in poosting here).
I lost my home page file. When I try to get into my site from the outside (http://tarotmeister.com/) the header comes up as does the menu but all I get underneath that is a page that reads: “Nothing Found…
Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.” When I try to call it up from my other page links, I get one that says “This is somewhat embarrassing, isn’t it?
It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.”
Like I said, I do get the header and menu I could recreate the home page quite easily if I could find out how to get to the page where I created it in this first time. By the way – I was trying to get rid of the permalink, “http://tarotmeister.com/http:/tarotmeister.com/pagetitle” when I lost my file.
I have to tell you, I’m html illiterate. I’ll have to be lead by the hand so I’ll know how to do it. After that, I should be alright for future problems. At least I’ll know where to go.
Thanks for your help! I really need it!
Have you published any posts yet?
Hi, I have quite a lot of pages published. The trouble is I can’t get to the files of the home page. It will just bring up the header and menu (which works on everything but the home page. (and then it half works). Apperently I just lost the file. Thanks for replying.
TarotMeister
I have quite a lot of pages published
Pages are not the same as Posts. If you have a purely Page-driven site (ie no Posts), you probably need to set up a static front page.
I printed those pages out to read. I’ll see how I make out with it tomorrow. Thanks 🙂
Hi esmi,
That did it! Thanks for your help! Another question… Is it possible to make the header menu single line spaced? That big gray box takes a lot of space.
tarotmeister