<?php /** * The template part for displaying a message that posts cannot be found. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package The Columnist * @since The Columnist 1.0 */ ?> <article id="post-0" class="post no-results not-found"> <div class="entry-content"> <?php if ( is_home() ) { ?> <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'the_columnist' ), admin_url( 'post-new.php' ) ); ?></p> <?php } elseif ( is_search() ) { ?> <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'the_columnist' ); ?></p> <?php } else { ?> <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'the_columnist' ); ?></p> <?php } ?> <div id="secondary" class="widget-area" role="complementary"> <?php the_widget( 'WP_Widget_Recent_Posts' ); ?> <div class="widget"> <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'the_columnist' ); ?></h2> <ul> <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> </ul> </div> <?php the_widget( 'WP_Widget_Archives', 'dropdown=1' ); ?> <div class="widget"> <h2 class="widgettitle"><?php _e( 'Search', 'the_columnist' ); ?></h2> <?php get_search_form(); ?> </div> </div> </div><!-- .entry-content --> </article><!-- #post-0 -->