Use content-none.php instead of no-results.php

Renamed no-results.php to content-none.php for consistency (as done in core: https://core.trac.wordpress.org/ticket/25181); so let's make sure it's used.
This commit is contained in:
Aahan Krish 2013-10-13 16:38:48 +05:30
parent 61f469bbdf
commit bc3988db85
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ get_header(); ?>
<?php else : ?>
<?php get_template_part( 'no-results', 'search' ); ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
@ -35,4 +35,4 @@ get_header(); ?>
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php get_footer(); ?>