first commit
This commit is contained in:
40
wp-content/themes/solarify/404.php
Normal file
40
wp-content/themes/solarify/404.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying 404 pages (Not Found)
|
||||
*/
|
||||
|
||||
get_header();
|
||||
//true - no sidebar on 404 page
|
||||
$column_classes = solarify_get_columns_classes( true ); ?>
|
||||
<div id="content" class="<?php echo esc_attr( $column_classes['main_column_class'] ); ?>">
|
||||
|
||||
<div class="inline-block text-center">
|
||||
<p class="not_found">
|
||||
<?php esc_html_e( '404', 'solarify' ); ?>
|
||||
</p>
|
||||
<h3><?php esc_html_e( 'Oops, page not found!', 'solarify' ); ?></h3>
|
||||
<div class="widget widget_search">
|
||||
<?php get_search_form(); ?>
|
||||
</div>
|
||||
<p>
|
||||
<?php esc_html_e( 'or', 'solarify' ); ?>
|
||||
</p>
|
||||
<p>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="theme_button color2 min_width_button">
|
||||
<?php esc_html_e( 'Go Home', 'solarify' ); ?>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!--eof #content -->
|
||||
|
||||
<?php if ( $column_classes['sidebar_class'] ): ?>
|
||||
<!-- main aside sidebar -->
|
||||
<aside class="<?php echo esc_attr( $column_classes['sidebar_class'] ); ?>">
|
||||
<?php get_sidebar(); ?>
|
||||
</aside>
|
||||
<!-- eof main aside sidebar -->
|
||||
<?php
|
||||
endif;
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user