Skip to content

Commit

Permalink
本文にmoreタグを挿入した時にエントリーカードのスニペットに(さらに…)と表示される不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Mar 23, 2018
1 parent 6297171 commit 95e3288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmp/entry-card.php
Expand Up @@ -12,7 +12,7 @@
<div class="entry-card-content card-content">
<h2 class="entry-card-title card-title" itemprop="headline"><?php the_title() ?></h2>
<div class="entry-card-snippet card-snippet">
<?php echo get_the_snipet( get_the_content(), get_entry_card_excerpt_max_length() ); //カスタマイズで指定した文字の長さだけ本文抜粋?>
<?php echo get_the_snipet( get_the_content(''), get_entry_card_excerpt_max_length() ); //カスタマイズで指定した文字の長さだけ本文抜粋?>
</div>
<div class="entry-card-meta card-meta">
<div class="entry-card-day"><span class="post-date"><?php the_time('Y.m.d'); ?></span></div>
Expand Down

0 comments on commit 95e3288

Please sign in to comment.