wordpress主题制作总结

网站名字 <?php bloginfo('name');?> 网站描述 <?php bloginfo('description');?> 查询Post的主循环: 1// The Query is overly simplistic and problematic way to modify main query of a page by r
Continue reading

wordpress自定义bootstrap主题

#先上一个wordpress的流程图 将网站的各个模板文件拆分开来a. style.cssb. index.phpc. header.phpd. footer.phpe. sidebar.phpf. single.phpg. page.phph. archive.php => category, tag, date-based, author basedi. functions.php =&
Continue reading

wordpress主题文件结构

今天复习了一下wordpress主题的制作,结合Bootstrap,做一个总结 #首先是bootstrap主题的文件结构 a. style.css主题的css必要文件b. index.php主题的必要的php文件必要文件 主页: home.php index.php 文章页: single-{post_type}.php – 如果文章类型是videos(即视频),WordPress就会去查找si
Continue reading

卧槽,无意间发现的新大陆

今天公司网络有问题后,打了一会儿盹. 半醒的状态下按了一下空格,发现了Chrome里面的小恐龙居然动起来了,卧槽,仔细看了一下,差点被感动哭了。
Continue reading

前端学习总结(07.01~07.21)

一直想学习大前端,最近在做公司官网,涉及到了一些切图,动画效果的任务,总结如下: 先从Bootstrap开始 首先学习的时候有一点没有学习到,就是如何定制Bootstrap,使用less或者sass重新编译Bootstrap以达到定制的效果我使用的方法是在main.css文件中覆盖bootstrap.min.css文件里面的css 学习到了一些之前没有注意到的,就是针对移动端的定制,hidden
Continue reading

Grunt常用脚本

Grunt用到的组件 connect grunt-connect grunt-contrib-clean 目录和文件管理,可以用于清除临时文件和目录 grunt-contrib-concat 合并文件,可以合并多个css或者js文件 grunt-contrib-connect sorry,忘记了,后面补起 grunt-contrib-copy 复制文件到指定目录 grunt-contrib-cs
Continue reading

yangfan.onion

人生太短, 只爱脚本语言, orz..

编程, 吃东西

四川-成都