Skip to content

Commit af63bc7

Browse files
committed
如无详情默认显示简介
1 parent 1ec9286 commit af63bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

single-sites.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
if( $contentinfo ){
8888
the_content();
8989
}else{
90-
echo "暂无介绍内容,请编辑添加";
90+
echo get_post_meta(get_the_ID(), '_sites_sescribe', true);
9191
}
9292
?>
9393

0 commit comments

Comments
 (0)