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:37:59 +05:30
parent 148818220e
commit 61f469bbdf
1 changed files with 2 additions and 2 deletions

View File

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