Template parts/ content dosyalarını paylaşır mısınız?
Buyrun hocam
<?php
/**
* Template part for displaying posts.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Maxima
*/
?>
<article id='post-<?php the_ID(); ?>' <?php post_class('c-post entry'); ?>>
<div class='c-post__head'>
<h1 class='c-post__title'><?php the_title(); ?></h1>
<time class='c-post__date' datetime='<?php the_time( 'c' ); ?>'><?php echo get_the_date(get_option( 'date_format' )); ?></time>
<?php if ( has_category() ) : ?>
<span class='c-post__cats'>
<?php the_category(', '); ?>
</span>
<?php endif; ?>
</div>
<div class='c-content'>
<?php the_post_thumbnail( 'full', array( 'class' => 'c-post__image' ) ); ?>
<?php the_content(); ?>
<?php get_template_part( 'template-parts/wp-link-pages' ); ?>
</div>
<div class='o-grid'>
<div class='o-grid__col o-grid__col--4-4-s o-grid__col--3-4-m'>
<div class='c-tags'>
<?php echo get_the_tag_list(); ?>
</div>
</div>
<div class='o-grid__col o-grid__col--4-4-s o-grid__col--1-4-m'>
<?php get_template_part( 'template-parts/share' ); ?>
</div>
</div>
<hr>
<?php
if ( get_the_author_meta( 'description' ) ) {
get_template_part( 'template-parts/author-bio' );
}
get_template_part( 'template-parts/post-navigation' );
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</article>