Skip to content

Commit

Permalink
Merge pull request #10 from jeeinn2012/master
Browse files Browse the repository at this point in the history
兼容文章,取摘要默认为卡片描述
  • Loading branch information
owen0o0 authored Jan 15, 2020
2 parents cd4609d + 56ca68e commit 3ff47f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/site-card.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
<div class="xe-user-name overflowClip_1">
<strong><?php the_title() ?></strong>
</div>
<p class="overflowClip_2"><?php echo get_post_meta($post->ID, '_sites_sescribe', true) ?></p>
<p class="overflowClip_2"><?php echo get_post_meta($post->ID, '_sites_sescribe', true) ?: get_the_excerpt($post->ID); ?></p>
</div>
</div>
</a>


0 comments on commit 3ff47f2

Please sign in to comment.