The first line removed does a file check, but if it’s not in the default theme directory it’ll hang since it’s’ not in the default theme directory (unable to access certain files properly). The second line is the closing portion after that check.
The issues come from the file structure, how and where the files needed are called from. Unfortunately, we aren’t always able to just copy a file to a new location and have it work.
See the attached image where you can add your message. It’s ultimately up to you and where/how you want to display the message.
The easier method would be to make changes directly in the core files. (but they will be overwritten).
Copyright © 2010-2020 PremiumPress Limited.