Home > CMS Tutorial > DEDECMS > body text

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

藏色散人
Release: 2019-12-09 10:43:02
Original
2558 people have browsed it

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}
Copy after login

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}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!