MusicGal 0 Report post Posted March 23, 2011 Hello, I'm very new to PlatformPro (and html and CSS). I was trying to add social media icons via my functions.php when I created a fatal error on my website. Now I can't even login to my Wordpress Admin and my site is down. Any ideas on how to fix the problem? Share this post Link to post Share on other sites
MusicGal 0 Report post Posted March 23, 2011 http://www.smalldreamada.com/ Share this post Link to post Share on other sites
Sourena 2 Report post Posted March 23, 2011 First I think you need to remove the hook from "function.php" to take back control of your website. Then place the hook here so the developers can see what is wrong with it. alefba.usWeb Development & Design for Right-to-Left languages Share this post Link to post Share on other sites
MusicGal 0 Report post Posted March 23, 2011 Okay. I fixed the problem by removing the hook from "function.php" after accessing it through my host. I think the problem is where I initially put the hook - at the bottom of the function.php file. Where should I be adding hooks? Share this post Link to post Share on other sites
kgstew 2 Report post Posted March 23, 2011 Hi Alaina, You will want to add your function above the sections area in the functions.php file. There is a line of code that reads function base_sections(){ Place your functions above this, although putting them below is not going to cause a problem either. If you receiving a fatal error it is most likely because your PHP syntax is incorrect. The error message should have given you a clue as to the problem but just make sure to create you function in the same form as the example in the functions.php file. Give it another shot and if you have another error, place post the error message as well as the PHP code you are using. Cheers, -Kyle Share this post Link to post Share on other sites