Hi I have edited two files on my website.
1. I wanted to remove the post showing on the 404 page. I removed this code from the:
WP-content/themes/enfold/included/error404.php
// EDITED
This worked just fine, looks great,but I am now using a Child-theme. How do I make the same change so it will not get overwritten with every update?
Thank.
Sorry, I meant to say that I have edited ONE file only…
Hey!
You should be able to simply copy the 404 file to your child theme, could you try if that works out or not?
Cheers!
Rikard
The thing is: I go to our FTP files and change the file…there is only one file?
Thanks
Hey!
Add a folder called “includes” in the child theme folder then copy the error404.php file inside. It will not be overwritten when you update the theme.
Cheers!
Ismael
Great, thank you. That seems to have done the trick. This is great stuff :-)
Please close post.