摘要: 制作index.php将index.php改成动态页面,将里面多余无用的代码删掉,保留下来有用的: Loreum ipsium massa cras phasellus News,Products•31st Sep, 09•1 ... 阅读全文
posted @ 2015-12-02 15:11 Archerus 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 制作sidebar.php主题目录下创建sidebar.php文件,从index.php中提取代码: Catagories So who are we? Philosophy History Jobs Staff Clients ... 阅读全文
posted @ 2015-12-02 13:43 Archerus 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 制作footer.php,在主题目录中新建文件footer.php,提取index.php中的页脚代码: Design ByQwibbleDesignsCode ByLudoutop再将index.php、archive.php、contact.php、full_width.php、page.ph... 阅读全文
posted @ 2015-12-02 11:54 Archerus 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 首先了解WordPress主题的文件构成,在WordPress根目录下找到wp-content/themes,这里保存的就是所有主题文件夹。首先一个静态模板包含:首页:index.html存档页:archive.html页面:page.html文章页:single.html联系页:contact.h... 阅读全文
posted @ 2015-12-02 11:38 Archerus 阅读(628) 评论(0) 推荐(0) 编辑
摘要: WordPress的安装在官网cn.wordpress.org里下载WordPress,本地环境要求PHP5.2.4以上,MySQL5.0以上。我用appache搭建本地服务器,在浏览器进入localhost进行安装。先进行数据库配置,进入phpMyAdmin创建一个库,然后在WordPress安装... 阅读全文
posted @ 2015-12-02 10:48 Archerus 阅读(1412) 评论(0) 推荐(0) 编辑