The following is an example of adding the "About Us" page:
1. Copy maps.html under phpcms\templates\default\wap, Paste and rename it to about.html, and modify the content as the "About Us" template file;
2. Search for function maps() in the phpcms\modules\wap\index.php file and find
Copy and paste it below and modify it to //About Us single page
3. Add in the corresponding navigation position "About Us" link is added to the single page.
<a href="{APP_PATH}index.php?m=wap&c=index&a=about">学校概况</a>
Recommended related tutorials: phpcms tutorial
The above is the detailed content of How to implement wap single page in phpcms. For more information, please follow other related articles on the PHP Chinese website!