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
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ get_header(); ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part( 'no-results', 'index' ); ?>
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue