Build a 404 page with Rey
In Rey there’s a simple feature that adds the ability to pick a Generic Global Section built with Elementor and show it on 404 pages.
Simply access Rey theme > Global sections in the backend and create a new generic global section in which you can add pretty much anything you need to.
You can access Settings › General › Page Settings › 404 Page and pick the newly created global section eg: screenshot .
By default both Header & Footer are disabled. To enable them, please add this code snippet below into your child theme’s functions.php .
function prevent_header_footer_hide_404($status){
if( is_404() ){
return false;
}
return $status;
}
add_filter('rey/header/maybe_hide', 'prevent_header_footer_hide_404');
add_filter('rey/footer/maybe_hide', 'prevent_header_footer_hide_404');Build with Elementor PRO
In case you’re running Elementor PRO, there’s even more flexibility with its Theme Builder which allows building these kinds of pages. More about how to create 404 pages with Elementor PRO .