portage/404.php

54 lines
1.3 KiB
PHP
Raw Normal View History

2021-08-01 17:32:46 +00:00
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Portage
*/
get_header();
?>
<?php get_sidebar(); ?>
<div id="content">
<!-- Post title info -->
<div class="post" >
<h2 id="post-<?php the_ID(); ?>" class="post-title">
2021-08-01 17:51:26 +00:00
<?php _e( '404: We can\'t find that page', 'portage' ); ?>
2021-08-01 17:32:46 +00:00
</h2>
<!-- Post content -->
<div class="post-content">
<p><img src='<?php echo get_template_directory_uri(); ?>/images/404.jpg' /></p>
<p>
<?php
2021-08-01 17:51:26 +00:00
_e( 'Sorry, that page or post doesn\'t appear to be here. It may have been deleted, moved, or at the other end of an outdated link.', 'portage' );
2021-08-01 17:32:46 +00:00
?>
</p>
<p>
<?php
2021-08-01 17:51:26 +00:00
_e( 'You can use the menus, categories, or tags to find what you are looking for. You can also use the search form below.', 'portage' );
2021-08-01 17:32:46 +00:00
?>
</p>
<p id="404search">
<?php
get_search_form();
?>
</p>
</div>
</div><!-- end "post" -->
</div> <!-- end Content -->
<div class="clear"></div>
<?php get_footer(); ?>