Skip to content

Commit

Permalink
如无详情默认显示简介
Browse files Browse the repository at this point in the history
  • Loading branch information
owen0o0 committed Dec 29, 2019
1 parent 1ec9286 commit af63bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single-sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
if( $contentinfo ){
the_content();
}else{
echo "暂无介绍内容,请编辑添加";
echo get_post_meta(get_the_ID(), '_sites_sescribe', true);
}
?>

Expand Down

0 comments on commit af63bc7

Please sign in to comment.