Tagged: php
-
AuthorPosts
-
November 27, 2016 at 1:52 am #717337
Hi,
My friend thought he could help me modify my web site and added some php code in the functions.php file he found on the web (https://jetpack.com/support/related-posts/customize-related-posts/#nocontext). The code he added made my website crashed. He tried to take off the code he added and to reload the file with FTP but it doesn’t work. He’s also deleted the jetpack extension I wanted to modify but it doesn’t work either.
The script at the end should be working. It’s supposed to place the author’s name on top of our articles.
I would REALLY appreciate if you could help me find and patch the error.
Thank you very, very much!
Best regards,
November 27, 2016 at 2:43 am #717348Hi RachelFleury!
Your site should be up now, I have removed search-engine-visibility plugin from the plugins folder (just moved it to wp-content folder), it seems it was causing the issue, hopefully your friend can help you with the modification again :)
Best regards,
NikkoNovember 27, 2016 at 3:27 am #717352Hi Nikko!
Thank you again, you’re amazing! However, we just wanted to put back the script you had added a few days ago so the author’s name would appear on top but it crashed again.
I will never touch the php code again without your help, I promise :)
Cheers!
Rachel
November 27, 2016 at 9:09 am #717399Hi,
Thanks for your kind words, I have added the code I have given before. :) Since we have some customized codes in functions.php I would suggest for you to use a child theme so it wouldn’t be overwritten during the theme update, instructions for it can be found here: http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
NikkoNovember 28, 2016 at 5:09 am #717551Hi Nikko,
Once again, thank you.
Last thing, it seems we have a problem with the footer, which is surprising because we have never touched the footer.php code…
I’ll definitely check for the child theme! But in that case, I might need some help again :)
Cheers!
Rachel
November 28, 2016 at 1:17 pm #717717Hey!
Thank you very much :) The footer should be good now :)
Cheers!
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.