• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reply To: Help. My entire site disappeared :(

Home › Community Forums › Epik Theme Support › Help. My entire site disappeared :( › Reply To: Help. My entire site disappeared :(

December 23, 2013 at 10:41 pm #9614
Wes
Moderator

It looks like you added the wrong code to your functions file. Assuming you have the latest version of Genesis 2.0+, if you add the older code (for anything before Genesis 2.0) it can cause php conflicts. Especially if there is a PHP error. When your site shows up like that, it’s usually a PHP error or typo.

There are 2 things you can do –

1. Login through FTP. Locate the functions.php file that you edited and remove that code, or replace the entire file with the default functions file.

2. Contact your host to see if they can load a saved backup of your site, so you can log back in.

In the future, I always recommend that everyone use FTP when editing files. Especially PHP files. The reason is, if you edit a PHP file in WordPress and make an error or a typo, your entire site will go down (as you can see) and you won’t be able to go backwards to fix it since the PHP error breaks your entire site.

If you have Genesis 2.0+ (you should) the code from the link you posted won’t work since it is for the XHTML version of Genesis. There is no Return to Top in Genesis 2.0 (they removed it). Genesis 2.0 has separate code for the new HTML5 version. Make sure you add the correct code (HTML5 version) to your functions file when making edits.

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework