mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-16 07:15:43 +03:00
Merge branch 'production' into fix/9
# Conflicts: # themes/wporg-5ftf/single.php
This commit is contained in:
commit
368d05e74d
23 changed files with 964 additions and 51 deletions
|
@ -1,8 +1,6 @@
|
|||
<?php
|
||||
namespace WordPressDotOrg\FiveForTheFuture\Theme;
|
||||
|
||||
$post_type = get_post_type(); // 5ftf_pledge
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
@ -10,7 +8,8 @@ get_header(); ?>
|
|||
<?php while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/' . $post_type, 'single' );
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
endwhile; ?>
|
||||
|
||||
</main><!-- #main -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue