mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 02:23:43 +03:00
Pledge List: Style search results
This commit is contained in:
parent
310a6876de
commit
bc867a344e
|
@ -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.
|
// Expand archive content area to full-width of header.
|
||||||
.site-content .site-main {
|
.site-content .site-main {
|
||||||
|
|
|
@ -19,12 +19,15 @@
|
||||||
while ( have_posts() ) :
|
while ( have_posts() ) :
|
||||||
the_post();
|
the_post();
|
||||||
|
|
||||||
get_template_part( 'template-parts/content', 'page' );
|
get_template_part( 'template-parts/content', get_post_type() );
|
||||||
|
|
||||||
endwhile;
|
endwhile;
|
||||||
|
|
||||||
the_posts_pagination();
|
the_posts_pagination();
|
||||||
|
|
||||||
else :
|
?>
|
||||||
|
|
||||||
|
<?php else :
|
||||||
|
|
||||||
get_template_part( 'template-parts/content', 'none' );
|
get_template_part( 'template-parts/content', 'none' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue