Customize the Error Pages
The error pages available in Warp themes are white-label, minimalist designs that fit perfectly with any of our themes and serve as an override to the system defaults.
There are three types of error pages available:
Error & Browser Upgrade Pages
The error page shows HTTP error codes. For example, when a visitor requests a missing page, the Error Page layout will be displayed with a 404 error title and description text.
Offline Mode Page
In the event you need to perform maintenance on your website, activating the offline mode page will notify your users that your site is currently unavailable. This is extremely useful when upgrading or testing out new features on your website. The Offline mode page is only available for Joomla and not for WordPress.
Override and customize the Error Pages
The HTML output of the error and offline pages are located in /warp/layouts within your theme.
- Error Pages: /warp/layouts/error.php
- Offline Pages: /warp/layouts/offline.php
To override the HTML output, you can copy these files to the theme /layouts directory or even better create your own style and change the files to your needs. If you are using your own style copy the files to /styles/YOUR_STYLE/layouts. Further, this way you won't lose any of your changes after an update of your theme. If you would like to edit the language output, simply edit the Warp language file.