Home  >  Article  >  CMS Tutorial  >  How does dede call the latest articles on the entire site?

How does dede call the latest articles on the entire site?

藏色散人
藏色散人Original
2019-12-09 10:43:022579browse

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=&#39;c&#39; 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn