Editing functions.php for custom gravatars doesn't work
-
Hello, I was wondering if anyone could help me with trying to upload custome gravatar .pngs. I try to add the code below to functions.php below, but when I save it through FTP it causes the site to go down/be unavailable.
[Code moderated as per the Forum Rules. Please use the pastebin]
Note: that is the default unedited code. I try to edit the template directory from the root source to the theme name. I don’t test this on my actual site, but a test domain site in case things like this happen. This code apparently will let me use multiple gravatars I made like the generated default ones. So again, when I try to edit the code and save it, the site goes down. What is wrong? Can anyone help me? Thanks in advance if you can.
P.S., I’m a noob at web design right now, but learning much as time goes by.
- The topic ‘Editing functions.php for custom gravatars doesn't work’ is closed to new replies.