WordPress Theme Template & Directory Structure
Monthly Archives: May 2012
The Ultimate WordPress Theme Tutorial (3)
Creating a WordPress Theme HTML Structure
The Ultimate WordPress Theme Tutorial (2)
WordPress Theme Development Tools
The Ultimate WordPress Theme Tutorial (1)
How To Create a WordPress Theme: The Ultimate WordPress Theme Tutorial
深度剖析WordPress主题结构
利用强大的技术,可以把基于wordpress的网站做成各种各样的形式,这除了要求wordpress主题开发人员精通html,PHP,JS,CSS等技术,还需要开发者掌握WordPress主题的框架。
Gevin今天结合The anatomy of a WordPress theme这篇文章,和大家一起剖析WordPress主题的结构。原文作者用图文形式,分别从网站外观、页面组成和后台文件三个方面,形象的向大家展示了WordPress的架构,下面Gevin和大家一起分析WordPress是如何架构的。
Continue reading 深度剖析WordPress主题结构
Notes on Programming in C by Rob Pike
Notes on Programming in C
Rob Pike February 21, 1989Introduction
Kernighan and Plauger’s The Elements of Programming Style was an important and rightly influential book. But sometimes I feel its concise rules were taken as a cookbook approach to good style instead of the succinct expression of a philosophy they were meant to be. If the book claims that variable names should be chosen meaningfully, doesn’t it then follow that variables whose names are small essays on their use are even better? Isn’t MaximumValueUntilOverflow
a better name than maxval
? I don’t think so.
Continue reading Notes on Programming in C by Rob Pike
"Enter password to unlock your login keyring" ubuntu
Anytime you change your ubuntu login password, you should also change your keyring password. If you don’t do it, it might display the “Enter password” dialoge when you do certain things on your system (for example, connecting to wireless). Continue reading "Enter password to unlock your login keyring" ubuntu
Django notes
1. create a new directory and start a project by run: django-admin.py startproject lsite
2. Running the development server: python manage.py runserver (just local)
3. start the interactive interpreter: python manage.py shell
4. setup TEMPLATE DIR inside settings.py
wordpress 文件上传问题
默认安装的Wordpress可以上传的文件为大小小于2M,文件名为英文的图片或者zip文件。修改配置文件可以使其支持更多上传选项。
Continue reading wordpress 文件上传问题