可以做很多效果:关于,打赏,等各种页面。。。
【开始使用】:
https://www.hadsky.com/read-384-1.html
2、插件后台>新建 单页面
3、复制下边的单页面模板源码,粘贴,保存
<?php $_G['TEMPLATE']['BODY']='output'; $_G['SET']['WEBTITLE'] = '我是页面标题,方便被人搜索找到'; $_G['SET']['WEBKEYWORDS'] = '页面关键字,方便被人搜索找到,多个用英文逗号隔开'; $_G['SET']['WEBDESCRIPTION'] = '页面的详细描述,方便被人搜索找到'; ?> <div class="pk-container " style="margin:auto;width: 970px;padding:50px 0;background-color:#fff;border-radius:5px"><!--width: 1270px;可改成自己模板宽度, 其他不要动--> <!--这里是内容头 ,粘贴各种网页源码 ,这段可删除替换其他代码,其他的不要动。--> <style type="text/css" media="screen"> .pk-heiyiren-xxbj{color:#333} .pk-heiyiren-xxbj:hover{color:#0080FF;text-decoration:underline;} </style> <a target="_blank" href="http://www.hadsky.com" ><div style="text-align:center" class="pk-heiyiren-xxbj" title="访问"> <h3>链接 hadsky </h3></div><a/> <!--这里是内容尾--> </div><!--不要动-->
设置如下
4、点击返回列表页,打开那个 guanyu 的页面,效果如下
5、【插件伪静态,百度更容易搜到该页面】 把 以下代码,放根目录的 .htaccess 文件里(这里是apache服务器类型)
RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^htmlpage-([0-9a-zA-Z_]+)\.html$ index\.php\?c=app&a=puyuetian_htmlpage:index&htmlname=$1&%1 [L]
6、则调用访问
http://你的域名/htmlpage-后台插件设置的页面名称.html
如 : http://www.baidu.com/htmlpage-guanyu.html