该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PHAMLP for WordPress

描述

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.

安装

Automated installation

  1. Log into the administrative section of your WordPress site (i.e. http://example.com/wp-admin”
  2. In the “plugins” section of the menu on the left, select “add new”
  3. Search for “PHAMLP for WordPress”
  4. Install

Manual installation

  1. Upload the phamlp-for-wordpress directory to the /wp-content/plugins/ directory of your WordPress site.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

此插件暂无评价。

贡献者及开发者

「PHAMLP for WordPress」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1

  • Initial version. Did not include theme.