mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00

* Use the post-type when choosing template partial * Add pledge archive templates * Style pledge list page * Style individual pledge * Use pledge featured image for the logo * Fix aspect ratio of image * Add real contributors to the pledges * Enable sorting and searching of pledges * Add pledge sorting markup * Style the page header * Restrict any pledges with no contributors from being shown on the frontend * Update contributor count key name
18 lines
301 B
PHP
18 lines
301 B
PHP
<?php
|
|
|
|
namespace WordPressDotOrg\FiveForTheFuture\Theme;
|
|
|
|
get_header(); ?>
|
|
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
<?php while ( have_posts() ) :
|
|
the_post();
|
|
|
|
get_template_part( 'template-parts/content', get_post_type() );
|
|
endwhile; ?>
|
|
|
|
</main><!-- #main -->
|
|
|
|
<?php get_footer();
|