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
61f469bbdf
commit
bc3988db85
|
@ -27,7 +27,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<?php get_template_part( 'no-results', 'search' ); ?>
|
<?php get_template_part( 'content', 'none' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -35,4 +35,4 @@ get_header(); ?>
|
||||||
</section><!-- #primary -->
|
</section><!-- #primary -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
Reference in New Issue