Cannot edit functions.php?

Posted in: Newspaper
Post count: 10

Hi,

I’m trying to insert the code required for Google tag manager into functions.php (because the code must be inserted in both head and body tags, not just 1 location), but hit the error message:

“Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over http://FTP.”

I have no problems editing other files in another theme, so I suspect the issue is not with server-side file permissions but with the Newspaper theme itself.

Do you know how we can resolve this?

Thanks and regards,
Keng Onn

Post count: 35449

Hi,

Have you try to edit the file from Appearance>Editor ( https://www.screencast.com/t/zOR1RQWm ).

Thank you.

Post count: 10

Hi Calin,

Yes, that’s exactly what I did. Didn’t succeed.

Regards,
Keng Onn

Post count: 35449

Hi,

Try to edit the file with notepad++, or copy the file from your host, edit it with an editor, save and update/replace to host.

Hope this will help you.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.