mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-19 08:25:44 +03:00
Theme: Initial commit.
This was forked from `pub/wporg-main` and `pub/wporg-plugins`, and then customized.
This commit is contained in:
commit
de191e098b
38 changed files with 4532 additions and 0 deletions
36
themes/wporg-5ftf/404.php
Normal file
36
themes/wporg-5ftf/404.php
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace WordPressdotorg\Five_for_the_Future\Theme;
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<section class="error-404 not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'wporg-5ftf' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
<p>
|
||||
<?php
|
||||
/* translators: URL to home page. */
|
||||
printf( wp_kses_post( __( 'Try searching from the field below, or go to the <a href="%s">home page</a>.', 'wporg-5ftf' ) ), esc_url( get_home_url() ) );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php get_search_form(); ?>
|
||||
</p>
|
||||
|
||||
<div class="logo-swing">
|
||||
<img src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ) ); ?>" class="wp-logo" />
|
||||
<img src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue.png' ) ); ?>" class="wp-logo" />
|
||||
</div>
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .error-404 -->
|
||||
|
||||
</main><!-- #main -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
Loading…
Add table
Add a link
Reference in a new issue