## 基本用法
$this->related(5)->to($relatedPosts);
$relatedPosts->parse(‘{title}‘);
或者:
$this->widget(‘Widget_Contents_Related’)->parse(‘{title}‘);
原创文章,作者:admin,如若转载,请注明出处:https://www.typechodev.com/dev/503.html
## 基本用法
$this->related(5)->to($relatedPosts);
$relatedPosts->parse(‘{title}‘);
或者:
$this->widget(‘Widget_Contents_Related’)->parse(‘{title}‘);
原创文章,作者:admin,如若转载,请注明出处:https://www.typechodev.com/dev/503.html