投稿タイトルを非表示にしてみた
template-parts\content.php
<article id=”post-<?php the_ID(); ?>” <?php post_class( ‘entry’ ); ?>>
<hr>
<header class=”entry-header”>
<?php
if ( is_single() ) {
//the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ );
} else {
//the_title( ‘<h2 class=”entry-title”><a href=”‘ . esc_url( get_permalink() ) . ‘” rel=”bookmark”>’, ‘</a></h2>’ );
}
if ( ‘post’ === get_post_type() ) : ?>
<div class=”entry-meta”>
<?php micro_posted_on(); ?>
</div><!– .entry-meta –>
<?php
endif; ?>
</header>
<!– .entry-header –>
<hr>