讯睿CMS问答:首页调用栏目id为10的单页面内容,怎么写呢

讯睿CMS问答:首页调用栏目id为10的单页面内容,怎么写呢

2024-09-30 XunRuiCMS Sincere

问题:

首页调用栏目id为10的单页面内容,怎么写呢,求助

答案:

{dr_share_cat_value(10, 'content')}

{html_entity_decode(dr_share_cat_value(10, 'content'))}

美容只截取前20个字符呢

{dr_strcut(dr_clearhtml(dr_share_cat_value(10, 'content')),10, '...')}

@NGCM:解决问题了谢谢