diff --git a/templates/site-card.php b/templates/site-card.php index a1fb8d2..8d39e19 100644 --- a/templates/site-card.php +++ b/templates/site-card.php @@ -1,8 +1,7 @@ ID); - $qrurl = $link_url; + $qrurl = $link_url ?: get_permalink($post->ID); $is_html = ''; if(get_post_meta($post->ID, '_wechat_qr', true)){ $qrurl="";