clean up archive.php some more
This commit is contained in:
parent
e6e6440cf5
commit
2d483c6529
16
archive.php
16
archive.php
@ -18,19 +18,9 @@
|
||||
}
|
||||
|
||||
include(get_template_directory() . '/partials/archive-page-nav.inc');
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<div class="post-head"></div>
|
||||
<div class="post">
|
||||
<h3>No entries found.</h3>
|
||||
<p>Try another search?</p>
|
||||
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
|
||||
<?php } ?>
|
||||
} else {
|
||||
include(get_template_directory() . '/partials/archive-not-found.inc');
|
||||
} ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
8
partials/archive-not-found.inc
Normal file
8
partials/archive-not-found.inc
Normal file
@ -0,0 +1,8 @@
|
||||
<div class="post-head"></div>
|
||||
<div class="post">
|
||||
<h3>No entries found.</h3>
|
||||
<p>Try another search?</p>
|
||||
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
Loading…
Reference in New Issue
Block a user