Pledge List: Style search results

This commit is contained in:
Kelly Dwan 2019-10-28 20:37:09 -04:00
parent 310a6876de
commit bc867a344e
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,5 @@
body.archive.post-type-archive-5ftf_pledge {
body.archive.post-type-archive-5ftf_pledge,
body.search.search-results {
// Expand archive content area to full-width of header.
.site-content .site-main {

View file

@ -19,12 +19,15 @@
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', 'page' );
get_template_part( 'template-parts/content', get_post_type() );
endwhile;
the_posts_pagination();
else :
?>
<?php else :
get_template_part( 'template-parts/content', 'none' );