Get the App
SLTechnology News&Howtos  ›  Development  › 

How to link the previous page to the next page of the dedecms list page separately

Shulou Source: shulou.com Published: 2022-06-03 07:38:24 10月02日 Update

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.

Tags: Previous links more knowledge articles either practical only that is work meetings mobile phones articles waterfalls look knowledge points industry details information channels follow Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Linux vpn macOS Huawei