How to link the previous page to the next page of the dedecms list page separately
This article is about how to achieve a link between the previous page and the next page of the dedecms list page, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
The mobile version is not suitable to call out the page number, either waterfall stream, or only the previous page or the next page
Previous page
{dede:pagelist listitem=pre runphp=yes} preg_match_all ('/ href= [\'] ([^ (\} >)] +) [\'"] /', @ me, $reselt); @ me = $reselt [1] [0]; {/ dede:pagelist}
next page
{dede:pagelist listitem=next runphp=yes} preg_match_all ('/ href= [\'] ([^ (\} >)] +) [\'"] /', @ me, $reselt); @ me = $reselt [1] [0]; {/ dede:pagelist}
Demo: https://m.mxyn.com/meng/taimeng/
The above is how to realize the link between the previous page and the next page of the dedecms list page. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.