上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 68 下一页
wordpress设置固定链接时,应该尽量注意一下几点: 1、不要让日期出现在固定链接里面。 2、不要让分类的链接出现在固定链接里面。 3、链接不要太深。 4、链接中不要出现中文。 5、文章最后可以加一个.html,一是伪静态URL搜索引擎容易收录,二是用户已经习惯了文章网址带.html了。 6、虽 Read More
posted @ 2016-09-11 09:56 tinyphp Views(3202) Comments(0) Diggs(0)
安装完wordpress,此时访问地址为:http://localhost/wordpress 1、不想让人知道我的文件目录,于是我把原来的wordpress改为w, 2、后台设置 3、WordPress核心文件.htaccess 和 index.php 移动到根目录 index.php的wordp Read More
posted @ 2016-09-10 13:38 tinyphp Views(2168) Comments(0) Diggs(0)
这里我更换为KindEditor 1、下载插件 https://wordpress.org/plugins/kindeditor-for-wordpress/ 2、解压至wordpress目录下的/wp-content/plugins,启动插件 3、在 设置 – Kindeditor设置下,可以设置 Read More
posted @ 2016-09-10 12:12 tinyphp Views(2318) Comments(0) Diggs(0)
wordpress默认的后台地址是 xx/wp-admin 或xx/wp-login.php ,谁都知道感觉很不安全, 方法一:使用插件 通过插件在地址上加上只有你知道的参数才能访问 1、后台搜索插件Stealth Login Page进行安装 2、然后设置自定义登录地址的链接参数, 3、下次登录就 Read More
posted @ 2016-09-09 23:50 tinyphp Views(9941) Comments(0) Diggs(0)
备案时,需要显示备案号,而wordpress默认模板本身不带这个信息,为了更快速应付备案,解决方案如下: 根据wp-config.php的提示 选择菜单->设置->常规-编辑备案号信息 在自己所用的主题的footer.php中添加一行代码,即可让在WordPress 后台添加的ICP备案号显示出来, Read More
posted @ 2016-09-09 17:59 tinyphp Views(11522) Comments(0) Diggs(0)
使用方法: 1、下载wookmark.js 2、构建html 3、直接js调用则 如果是jquery调用则: 参数说明: align – "left", "right", 和"center" autoResize – 如果为 "true", 浏览器改变大小后更新图层 resizeDelay – 默认 Read More
posted @ 2016-09-05 22:29 tinyphp Views(1585) Comments(0) Diggs(0)
作为一个真正的网站,不能没有数据的支持,下面使用的数据库为mongodb,电影可能有的数据:电影名称、导演、国家、语言、上映时间、图片、简介、视频 4、使用路由 app.js 创建路由,把app.js的内容分别转移到routes下的index.js、admin.js admin.js var exp Read More
posted @ 2016-09-02 13:34 tinyphp Views(4040) Comments(0) Diggs(0)
网站环境:使用express框架、bootstrap样式、jade模板、mongoose数据库 1、创建express工程:myMovie 进入工程执行npm install,npm start 后 访问很正常,可以往下继续了 2、创建路由,打通入口 初拟可能浏览的入口 网站跟目录:localhos Read More
posted @ 2016-09-02 08:43 tinyphp Views(1575) Comments(4) Diggs(0)
实例是模拟登录页面提交表单,然后根据信息判断是否登录成功 login.js login.jade loginmsg.js loginmsg.jade app.js 下载源码 Read More
posted @ 2016-08-27 11:06 tinyphp Views(6352) Comments(0) Diggs(0)
加上: meta(http-equiv="Content-Type",content="text/html; charset=utf-8") Read More
posted @ 2016-08-25 20:26 tinyphp Views(436) Comments(0) Diggs(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 68 下一页