ID ); if ( 'post' === get_post_type( $post->ID ) ) { $arg = get_post_format(); }; /* * Include the Post-Format-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 or he post-type) and that will be used instead. */ get_template_part( 'template-parts/content', $arg ); } the_posts_navigation(); } else { get_template_part( 'template-parts/content', 'none' ); } get_sidebar(); get_footer();