Home > Article > CMS Tutorial > How does dede call the latest articles on the entire site?
dedeHow to call the latest articles of the entire site?
In order to allow search engines to include newly added articles as quickly as possible, I have called all the latest articles in each detailed content. The specific implementation is as follows. Friends who have this idea can refer to it. Next
Recommended study: 梦Weavercms
The code is as follows:
Today I am using the dedecms system to create my personal blog, In order to allow search engines to include newly added articles as quickly as possible, I have called all the latest articles in each detailed content. The specific method is as follows:
{dede:arclist row=’条数’ typeid=’all’ orderby=’pubdate’} <li><a href="[field:arcurl/]">[field:title/]</a></li> {/dede:arclist}
If you want to call the recommended articles of the entire site, the method As follows
{dede:arclist row=’条数’ typeid=’all’ flag='c' orderby=’pubdate’} <li><a href="[field:arcurl/]">[field:title/]</a></li> {/dede:arclist}
The above is the detailed content of How does dede call the latest articles on the entire site?. For more information, please follow other related articles on the PHP Chinese website!