Anonymous User 9055193
(@anonymized-9055193)
That’s a very long file. Can you please narrow it down to what you edited specifically? Do you also have a backup of your functions.php file you can compare to the edited version?
@raees: There’s no way anyone here can parse that file for errors.
Use FTP to replace the file with a fresh, unedited copy of functions.php and then keep backup copies of the files you work on.
See Filezilla and FTP Clients « WordPress Codex. Or use your web host’s file manager in your control panel.
Thread Starter
raees
(@raees)
ok, the problem is I tried adding this snippet http://pastebin.com/SENBiq8s at the end of the functions.php and the site went blank, removing it fixes the problem, but I want to use that snippet.
Hi Raees,
Pasting other code without proper information – how it work and how it will affect your website. Is not considered as good coding practice.
If you want to add that code in your website. I suggest you that you should create a file and an includes folder in your theme directory. Then, parse that include file from there. Using this way, you will have your website intact.
require_once ( get_stylesheet_directory() . '/includes/gravitywiz.inc.php');
And, please go to http://gravitywiz.com/support/ forum, and start a new thread for support. We can help you with WordPress only. 🙂