Home > Article > CMS Tutorial > DEDECMS tag code What is Prenext tag
DEDECMS Tag Code What is the Prenext tag?
DEDECMS tag code description and usage of Prenext tag
Recommended learning: dedecms tutorial
[Prenext tag]
Function description:
means to obtain the link list of the document "previous article/next article".
Applicable scope:
Document template only.
(1) Syntax:
{dede:prenext/}
(2) Attributes:
[1] get gets the connection type (2007 version only), get='' is the same as V4 to display horizontal The link to the previous and next pages of the row, get='pre' The link to the previous article get='next' The link to the next article
Note: This mark defaults to horizontal arrangement. If you want to use vertical arrangement, you can use
{dede:prenext function="str_replace(' 下一篇:','<'.'br'.' />下一篇:',@me)"/}
The above is the detailed content of DEDECMS tag code What is Prenext tag. For more information, please follow other related articles on the PHP Chinese website!