diff --git a/themes/wporg-5ftf/css/components/_pledge-list.scss b/themes/wporg-5ftf/css/components/_pledge-list.scss index 2587772..d0fa287 100644 --- a/themes/wporg-5ftf/css/components/_pledge-list.scss +++ b/themes/wporg-5ftf/css/components/_pledge-list.scss @@ -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 { diff --git a/themes/wporg-5ftf/search.php b/themes/wporg-5ftf/search.php index bdbf34f..632067c 100644 --- a/themes/wporg-5ftf/search.php +++ b/themes/wporg-5ftf/search.php @@ -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 : + ?> + +