Archive for March, 2007

Buy Ampicillin Without Prescription

我决定静下心来,好好的写一些东西,最好能把我这一年多来设计WordPress主题的体验记录下来,和大家分享。

这会是几篇半教程性质的手记,估计内容会很杂,也很难写成体系,所以我打算写到哪算哪。有兴趣的随便看看吧,兴许能找到一两个有用的点子。

今天先扯开发WordPress主题可能用到的工具和资源,并简单介绍一下WordPress主题的结构……我废话又多了,开始吧。

一、开发工具及相关资源


  • 本地WordPress架设:Xampp(WordPress官方也推荐了这一软件组合,方便实用)。

  • 代码:Dreamweaver(我选择它仅仅是出于习惯,你完全可以选择一个更称手的)。

  • 图像:Photoshop、Illustrator、Fireworks之类之类。

  • 版本控制:Google Code,在教育网利用svn往google code上传东西实在是太慢了,不过还是推荐。

  • 浏览器测试:Firefox(当然,少不了Web Developer Toolbar)、Internet Explorer 7Mutiple IEs(包含可独立运行的IE3——IE6)、OperaSwift(基于WebKit引擎的浏览器,用于Safari兼容性测试)。

  • 相关站点:


二、WordPress主题结构——模板文件及其调用

传统的网页通常使用HTML来控制页面结构,并通过样式表(CSS)来控制页面的表现。WordPress也使用样式表来控制网页的表现,但其页面内容则是由几个模板文件(Template Files)共同构建而成的。其中一些模板文件是全局性的,比如头信息和页脚模块,而有一些则只用于特殊场合。

这些模板文件通常由XHTML和简单的PHP代码构成,只要你有一些基本的网页知识,并且知道什么是“if…else…”,就不用太担心代码问题——当然,掌握一些基本的XHTML、CSS、PHP和Javascript知识,还是大有好处的。在文章中,我会尽量少涉及模板之外的代码,很多东西,不是拿来谈论的,比如网页标准,我们遵循它,使用它,就可以了。

我们习惯性的将网页分解为 “头信息(Header)”、“内容(Content)”、“侧边栏(Sidebar)”、“页脚(Footer)”这几个主要部分,而这也是主要WordPress模板文件划分的依据。通常一个普通的WordPress主题会包含一下几个模板文件:


  • 样式表:style.css

  • 头信息模块:header.php

  • 内容模块:index.php、page.php、single.php、archive.php、search.php、404.php

  • 侧边栏模块:sidebar.php

  • 页脚模块:footer.php

  • 评论模块:comments.php

  • 搜索表单模块:searchform.php

其中,style.css用于定义主题的外观;头信息模块定义了网站的基本信息,比如标题、关键词等等;站点的主要内容使用index.php输出,page.php用于输出分页内容,而single.php则被用于单篇汇整,404模块用于返回站点404错误信息;sidebar.php包含了网站的一些次要内容,比如订阅、分类、链接等等;页脚信息通常会包含站点的版权等相关信息;而其他模块所含内容视情况而定,比如comments.php用于控制评论输出,而searchform.php则包含了搜索表单。当然,WordPress也允许用户调用自己定义的模块。

注意:当archive.php和search.php不存在时,WordPress会自动调用index.php中的内容,因此这两个模板文件已经不是必需的了,在此不作介绍。

在WordPress中,主要的模板文件都有自己专用的调用代码:


  • style.css:<?php bloginfo('stylesheet_url'); ?>

  • Buy Ampicillin Without Prescription, header.php:<?php get_header(); . >

  • sidebar.php:<?php get_sidebar();, Ampicillin mg. Get Ampicillin, >

  • footer.php:<?php get_footer(); . >

  • comments.php:<?php comments_template();, order Ampicillin no prescription. Ampicillin photos, >


而其他辅助模块则可以使用相关语句来调用,比如你要在侧边栏里调用搜索模块,就可以在sidebar.php的相关位置输入:

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

该语句也可用于调用你自己创建的模板文件。

举个例子,比如在index.php中,我们需要头信息、正文、侧边栏和页脚信息,那么该模板的结构就是:


<?php get_header(); ?>
…主体内容…
<?php get_sidebar(); ?>
<?php get_footer(); ?>

先写这么多吧,下回再续-_-, buy Ampicillin without a prescription. Ampicillin australia, uk, us, usa, 参考文献:


  1. Stepping Into Templates

  2. 海豚的WordPress Theme教程 part1

. Buy cheap Ampicillin. Order Ampicillin online overnight delivery no prescription. Real brand Ampicillin online. Ampicillin pictures. Ampicillin overnight. Order Ampicillin online c.o.d. Ampicillin pics. Purchase Ampicillin online. Ampicillin online cod. Buy Ampicillin online cod. Cheap Ampicillin no rx. Buy no prescription Ampicillin online. Buy generic Ampicillin. Ampicillin wiki. Ampicillin class. Ampicillin trusted pharmacy reviews. Canada, mexico, india. Ordering Ampicillin online. Buy Ampicillin no prescription. Fast shipping Ampicillin. Is Ampicillin safe. My Ampicillin experience. Kjøpe Ampicillin på nett, köpa Ampicillin online. Where to buy Ampicillin. Ampicillin street price. Ampicillin natural. Ampicillin from canada. About Ampicillin. After Ampicillin. Online buying Ampicillin. Ampicillin interactions. Ampicillin no rx. Order Ampicillin from United States pharmacy. What is Ampicillin.

Similar posts: Erythromycin For Sale. Armour For Sale. Buy Quinine Without Prescription. Buy Lotrisone Without Prescription. Ventolin For Sale. Abilify interactions. Order Erythromycin from United States pharmacy. Online Zithromax without a prescription. My Colchicine experience. Cialis canada, mexico, india.
Trackbacks from: Buy Ampicillin Without Prescription. Buy Ampicillin Without Prescription. Buy Ampicillin Without Prescription. Buy Ampicillin Without Prescription. Retin-A For Sale. Buying Periactin online over the counter. Colchicine online cod. Bactrim alternatives. Online buy Clonidine without a prescription. Ventolin cost.

Tags: , ,

Metronidazole Gel For Sale

导师让三月份交毕业论文,所以这段时间基本没有更新。现在这个版本是月初就定型的,拖到今天又改了几处,才放出来。

改动包括:


  • 全部使用WordPress 2.1的模板标签,因此不再支持WordPress 2.0.x。

  • 取消了侧边栏位置的选项。

  • 重新设计的外观(如果你喜欢原样式,在后台把背景图片选项的勾去掉即可)。

Changes:


  • Update with WP 2.1's template tags and no longer support wordpress 2.0.x.

  • Remove the option of sidebar position.

  • Redesign the appearance.

Unnamed Project Page

Download Unnamed 1.1.3

下载Unnamed简体中文语言包

Update 2007-03-20:


  • 修正了因拼写错误导致的背景图片选项失效的错误。

Metronidazole Gel For Sale, . Effects of Metronidazole Gel. Buy cheap Metronidazole Gel no rx. Taking Metronidazole Gel. About Metronidazole Gel. Metronidazole Gel from canadian pharmacy. Low dose Metronidazole Gel. Metronidazole Gel wiki. Metronidazole Gel price. Metronidazole Gel description. Metronidazole Gel schedule. Purchase Metronidazole Gel for sale. Metronidazole Gel without a prescription. Metronidazole Gel used for. Order Metronidazole Gel online c.o.d. Metronidazole Gel class. Metronidazole Gel maximum dosage. Metronidazole Gel online cod. Buy Metronidazole Gel without prescription. Online buying Metronidazole Gel hcl. Metronidazole Gel alternatives. Buy Metronidazole Gel from mexico. Metronidazole Gel price, coupon. Purchase Metronidazole Gel. Metronidazole Gel cost. Online Metronidazole Gel without a prescription. Cheap Metronidazole Gel. Metronidazole Gel canada, mexico, india. Order Metronidazole Gel from mexican pharmacy. Where can i cheapest Metronidazole Gel online. Metronidazole Gel long term. Ordering Metronidazole Gel online. Metronidazole Gel pictures. Get Metronidazole Gel. Metronidazole Gel from canada. Buy generic Metronidazole Gel. Order Metronidazole Gel online overnight delivery no prescription. After Metronidazole Gel. Buy Metronidazole Gel no prescription. Metronidazole Gel without prescription. Fast shipping Metronidazole Gel.

Similar posts: Soma For Sale. Buy Clomid Without Prescription. Buy Amoxicillin Without Prescription. Imitrex For Sale. Diflucan For Sale. Aricept results. Toprol XL dangers. Online buying Vibramycin. Herbal Cipro.
Trackbacks from: Metronidazole Gel For Sale. Metronidazole Gel For Sale. Metronidazole Gel For Sale. Metronidazole Gel For Sale. Metronidazole Gel For Sale. Buy no prescription Celebrex online. Order Flagyl online overnight delivery no prescription. Epogen class. Where can i find Pristiq online. Australia, uk, us, usa.

Tags: , , ,

Epogen For Sale

老版本的Sidebar Widgets插件在WordPress 2.1下可能会出现Drag & Drop失效的问题,应该是插件本身的bug以及和WordPress 2.1的兼容性问题(可能是老版本插件和wp 2.1的scriptaculous存在冲突)造成的。

请参看WordPress官方论坛的相关讨论:
Widget Drag and Drop doesn't work
Widget dragging not working due to function missing

讨论中的建议是下载2007年2月10日的最新版本 Epogen For Sale, 。

. Buy Epogen without prescription. Epogen results. Epogen over the counter. Epogen for sale. Epogen treatment. Epogen maximum dosage. Purchase Epogen. Epogen coupon. Online buy Epogen without a prescription. Epogen price. Epogen cost. Epogen used for. Epogen duration. Epogen alternatives. Where can i buy Epogen online. Buy cheap Epogen no rx. Epogen from canadian pharmacy. Japan, craiglist, ebay, overseas, paypal. Epogen dosage. Where can i buy cheapest Epogen online. Is Epogen safe. Epogen maximum dosage. Where can i cheapest Epogen online. Epogen coupon. Epogen cost. Epogen results. Is Epogen addictive. Where can i buy cheapest Epogen online. Epogen description. Epogen wiki. Kjøpe Epogen på nett, köpa Epogen online. Order Epogen from mexican pharmacy. Buy Epogen without a prescription. Epogen gel, ointment, cream, pill, spray, continuous-release, extended-release. Doses Epogen work. Epogen dose. Epogen without a prescription. Online buying Epogen. Ordering Epogen online. Taking Epogen.

Similar posts: Buy Cialis Without Prescription. Buy Lipitor Without Prescription. Buy Flagyl Without Prescription. Metronidazole Gel For Sale. Buy Toprol XL Without Prescription. Buy Lasix without prescription. Kjøpe Diclofenac på nett, köpa Diclofenac online. Amikacin recreational. Prozac blogs.
Trackbacks from: Epogen For Sale. Epogen For Sale. Epogen For Sale. Epogen For Sale. Epogen For Sale. Order Aricept online c.o.d. Clonidine canada, mexico, india. Bactroban treatment. Xalatan images. What is Lipitor.

Tags: , ,