diff --git a/archive.php b/archive.php index 9cf53756..856d8a1b 100644 --- a/archive.php +++ b/archive.php @@ -27,11 +27,11 @@ get_header(); ?> while ( have_posts() ) : the_post(); /* - * Include the Post-Format-specific template for the content. + * Include the Post-Type-specific template for the content. * If you want to override this in a child theme, then include a file - * called content-___.php (where ___ is the Post Format name) and that will be used instead. + * called content-___.php (where ___ is the Post Type name) and that will be used instead. */ - get_template_part( 'template-parts/content', get_post_format() ); + get_template_part( 'template-parts/content', get_post_type() ); endwhile; diff --git a/inc/jetpack.php b/inc/jetpack.php index 172afb81..38310991 100644 --- a/inc/jetpack.php +++ b/inc/jetpack.php @@ -53,7 +53,7 @@ function _s_infinite_scroll_render() { if ( is_search() ) : get_template_part( 'template-parts/content', 'search' ); else : - get_template_part( 'template-parts/content', get_post_format() ); + get_template_part( 'template-parts/content', get_post_type() ); endif; } } diff --git a/index.php b/index.php index 39fccd5a..9cf6a60e 100644 --- a/index.php +++ b/index.php @@ -32,11 +32,11 @@ get_header(); ?> while ( have_posts() ) : the_post(); /* - * Include the Post-Format-specific template for the content. + * Include the Post-Type-specific template for the content. * If you want to override this in a child theme, then include a file - * called content-___.php (where ___ is the Post Format name) and that will be used instead. + * called content-___.php (where ___ is the Post Type name) and that will be used instead. */ - get_template_part( 'template-parts/content', get_post_format() ); + get_template_part( 'template-parts/content', get_post_type() ); endwhile;