forked from mirror/_s
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:
parent
148818220e
commit
61f469bbdf
|
@ -35,7 +35,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<?php get_template_part( 'no-results', 'index' ); ?>
|
<?php get_template_part( 'content', 'none' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -43,4 +43,4 @@ get_header(); ?>
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
Reference in New Issue