Add post meta, styling tweaks, massive linting

This commit is contained in:
Ben Goldsworthy 2021-01-22 16:19:51 +00:00
parent 25e0067f05
commit 428552848f
27 changed files with 666 additions and 2177 deletions

View file

@ -1,33 +1,30 @@
<?php
/**
* The template part for displaying a message that posts cannot be found.
*
* @package WordPress
* @subpackage Omphaloskepsis
* @since Omphaloskepsis 1.0
*/
/**
* The template part for displaying a message that posts cannot be found.
*
* @package WordPress
* @subpackage Omphaloskepsis
* @since Omphaloskepsis 1.0
*/
?>
<section class="no-results not-found">
<header class="page-header">
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentysixteen' ); ?></h1>
</header><!-- .page-header -->
<header class="page-header">
<h1 class="page-title">Nothing Found</h1>
</header><!-- .page-header -->
<div class="page-content">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<div class="page-content">
<?php if ( is_search() ) : ?>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentysixteen' ); ?></p>
<?php get_search_form(); ?>
<?php elseif ( is_search() ) : ?>
<?php else : ?>
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentysixteen' ); ?></p>
<?php get_search_form(); ?>
<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentysixteen' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentysixteen' ); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- .page-content -->
<?php endif; ?>
</div><!-- .page-content -->
</section><!-- .no-results -->