跳到内容

PHAMLP for WordPress

v0.1

Dana Ross · 2011年2月20日 上架

PHAMLP for WordPress enables theme creation using the HAML template system.

正在使用
10 以下
评分
暂无
累计下载
1,467
最近更新
2011年2月22日
需要 WordPress 3.0+已测试到 3.0.5

贡献者

PHAMLP for WordPress enables theme creation using the HAML template system. HAML replaces the tag soup of most HTML/PHP templates with a cleaner, hierarchical markup language.

Any plain HTML/PHP theme will work while PHAMLP for WordPress is enabled. But the individual templates that make up a WordPress theme, from index.php to author.php, can be replaced with a corresponding .haml.php file and PHAMLP for WordPress will process them.

HAML Example

!!! 5
%html
  %head
    %title Welcome to my web site
  %body
    #header
      %h1 Welcome!
    #content
      #greeting Hello world!
    #footer
      #copyright-notice (c) forever by me!

A “TwentyHAMLTen” example theme will be included in future versions.

Licenses

  1. PHAMLP for WordPress is a fork of wp-haml, and is therefore available under the ISC license.
  2. PHAMLP is redistributed under the terms of the New BSD License.
  3. The TwentyHAMLTen theme is a derivative of the TwentyTen theme that ships with WordPress and inherits the original theme’s GPL license.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums