-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path404.php
More file actions
42 lines (30 loc) · 1.22 KB
/
Copy path404.php
File metadata and controls
42 lines (30 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package taman
* @since 1.0.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$page_404_bg_image = IDEALX_THEME_URI . '/assets/images/404.png';
get_header();
?>
<div id="taman-site-content404" class="taman-site-content404 uk-section uk-background-bottom-right uk-background-image@s uk-height-viewport" style="background-image: url('<?php echo esc_url( $page_404_bg_image ); ?>'); background-repeat: no-repeat;" uk-height-viewport="offset-top: true">
<div class="uk-container uk-container-expand ">
<div class="error-404-bg-img-overlay"></div>
<div class="pg-not-found uk-position-center">
<h2><?php echo esc_html__( 'Sorry, this page isnt available.', 'idealx' ); ?></h2>
<p><?php echo esc_html__( 'The link you followed may be broken, or the page may have been removed.', 'idealx' ); ?> </p>
<a class="uk-button id-button-primary uk-button-large" href="<?php echo esc_url( home_url() ); ?>">
<span><?php echo esc_html__( 'Back Home', 'idealx' ); ?></span>
<i uk-icon="arrow-right"></i> </a>
</div>
</div>
</div>
<?php
get_footer();