Make WordPress Themes

source: sydney/2.41/content-none.php

Last change on this file was 139705, checked in by themedropbox, 5 years ago

New version of Sydney - 1.72

File size: 1.0 KB
Line 
1<?php
2/**
3 * The template part for displaying a message that posts cannot be found.
4 *
5 * Learn more: http://codex.wordpress.org/Template_Hierarchy
6 *
7 * @package Sydney
8 */
9?>
10
11<section class="no-results not-found">
12        <header class="page-header">
13                <h1 class="page-title"><?php _e( 'Nothing Found', 'sydney' ); ?></h1>
14        </header><!-- .page-header -->
15
16        <div class="page-content">
17                <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
18
19                        <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'sydney' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
20
21                <?php elseif ( is_search() ) : ?>
22
23                        <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'sydney' ); ?></p>
24                        <?php get_search_form(); ?>
25
26                <?php else : ?>
27
28                        <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'sydney' ); ?></p>
29                        <?php get_search_form(); ?>
30
31                <?php endif; ?>
32        </div><!-- .page-content -->
33</section><!-- .no-results -->
Note: See TracBrowser for help on using the repository browser.