Home / Files / 404.php


Lines: 1 to 36 of 36

<?php

/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.0
 */

get_header(); ?>

<div class="wrap">
	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

			<section class="error-404 not-found">
				<header class="page-header">
					<h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'twentyseventeen' ); ?></h1>
				</header><!-- .page-header -->
				<div class="page-content">
					<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyseventeen' ); ?></p>

					<?php get_search_form(); ?>

				</div><!-- .page-content -->
			</section><!-- .error-404 -->
		</main><!-- #main -->
	</div><!-- #primary -->
</div><!-- .wrap -->

<?php get_footer();
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      1 to 3 of 3

      • get_footer() – Load footer template.
      • get_header() – Load header template.
      • get_search_form() – Display search form.

      Call hooks

      File name: 404.php
      Plugin ref: Twenty Seventeen
      Version: 1.4
      Deprecated?: No
      API Letters: #,P

      Published: 13th March 2017 | Last updated: 13th March 2017

      Information

      File name: 404.php
      Plugin ref: Twenty Seventeen
      Version: 1.4
      Deprecated?: No
      API Letters: #,P

      • Plugins
      • Themes
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Home
      • Sites
      • Sitemap
      • Blog
      oik-plugins WordPress a2z
      WordPress Dynamic API Reference

      Site:  wp-a2z.org
      © Copyright oik-plugins 2014-2018. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins