__TOC__ 在主题出现之前,WordPress使用单一文件index.php生成内容,使用其他集中文件支持评论的展示和提交。由单一的样式表控制呈现。所有其他静态页面,包括分类和档案页面,由向index.php页传送参数生成。 新的主题系统提供了两个方便的特性。 Physically Separates Components :The new WordPress modular template files system provides a method to define separate physical PHP files for the different components of your WordPress site. This allows creation of unique designs and functionality for many special pages, such as category archives, monthly archives, and the individual entry pages. Quickly Change Layout and Design :It allows users with appropriate permissions to quickly change the layout of the entire site by uploading a new theme and essentially flipping a switch in the admin panel.
__TOC__ 在主题出现之前,WordPress使用单一文件index.php生成内容,使用其他集中文件支持评论的展示和提交。由单一的样式表控制呈现。所有其他静态页面,包括分类和档案页面,由向index.php页传送参数生成。 新的主题系统提供了两个方便的特性。 Physically Separates Components :The new WordPress modular template files system provides a method to define separate physical PHP files for the different components of your WordPress site. This allows creation of unique designs and functionality for many special pages, such as category archives, monthly archives, and the individual entry pages. Quickly Change Layout and Design :It allows users with appropriate permissions to quickly change the layout of the entire site by uploading a new theme and essentially flipping a switch in the admin panel. The old method of generating pages will still work. If you are upgrading from v1.2 or v1.2.1 or v1.2.2, you can continue using your existing design. Keeping your older design will not prevent you from adding additional themes and easily switching between designs.