Advantages of random Articles
Help to display all articles, especially some old articles also have in the home page, list pages, content pages, such as adding a random list of articles, such as labels and other places to display articles, so that search engines better included articles.
Random article Add method
The random ordering method for weaving dream articles is:orderby= ' Rand ', which calls random article code as follows:
{dede:arclist row= ' pagesize= ' titlelen= ' orderby= ' Rand '} <li><href= "[field:arcurl/]" title= "[Field:title/]">[field:title/] </a></li>{/dede:arclist}
- Row= ' 1000′ returns a list of 1000 documents;
- Pagesize= ' 10′ lists 10 from the list of 1000 documents above;
- titlelen= ' 80′ title length 80;
- orderby= ' rand ' random access to articles
The whole list means to list 1000 articles, randomly fetch 10 and show it, with the title of the article up to 80.
Random article call method of weaving dream