diff --git a/templates/site-card.php b/templates/site-card.php index 4418110..a1fb8d2 100644 --- a/templates/site-card.php +++ b/templates/site-card.php @@ -1,16 +1,14 @@ ID); $qrurl = $link_url; $is_html = ''; if(get_post_meta($post->ID, '_wechat_qr', true)){ $qrurl=""; $is_html = 'true'; } else if($link_url=="") { - // $qrurl = '无二维码!'; - $link_url = get_permalink($post->ID); - $qrurl = ""; - $is_html = 'true'; + $qrurl = '地址错误!'; } else if(io_get_option('is_qr')) { $qrurl = ""; $is_html = 'true';